WebService


Click here for a complete list of operations.

GetdltOrderInfo

Get Order Info

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WebService.asmx HTTP/1.1
Host: hotelbooking365.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetdltOrderInfo"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <SOAPHeaderAuth xmlns="http://tempuri.org/">
      <UserName>string</UserName>
      <Password>string</Password>
    </SOAPHeaderAuth>
  </soap:Header>
  <soap:Body>
    <GetdltOrderInfo xmlns="http://tempuri.org/">
      <objGetdltOrderInfo>
        <requestor>
          <invoker>string</invoker>
          <operatorName>string</operatorName>
          <opClientIP>string</opClientIP>
          <userId>int</userId>
          <languageType>string</languageType>
        </requestor>
        <supplierID>int</supplierID>
        <dltOrderId>string</dltOrderId>
      </objGetdltOrderInfo>
    </GetdltOrderInfo>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetdltOrderInfoResponse xmlns="http://tempuri.org/">
      <GetdltOrderInfoResult>
        <ResponseStatus>
          <Timestamp>dateTime</Timestamp>
          <Ack>string</Ack>
          <Errors>
            <ObjError xsi:nil="true" />
            <ObjError xsi:nil="true" />
          </Errors>
          <Build />
          <Version>string</Version>
          <Extension>
            <Extension xsi:nil="true" />
            <Extension xsi:nil="true" />
          </Extension>
        </ResponseStatus>
        <resultStatus>
          <resultCode>int</resultCode>
          <resultMsg>string</resultMsg>
        </resultStatus>
        <dltOrderInfo>
          <dltOrderId>string</dltOrderId>
          <orderId>string</orderId>
          <releationOrder>
            <lastDltOrderId>string</lastDltOrderId>
            <nextDltOrderId>string</nextDltOrderId>
            <lastOrderId>string</lastOrderId>
            <nextOrderId>string</nextOrderId>
            <lastConfirmType>string</lastConfirmType>
            <nextConfirmType>string</nextConfirmType>
          </releationOrder>
          <channel>string</channel>
          <childChannel>string</childChannel>
          <orderCurrency>string</orderCurrency>
          <orderPrice>double</orderPrice>
          <formType>string</formType>
          <orderStatus>string</orderStatus>
          <cancelRules>
            <CancelRule xsi:nil="true" />
            <CancelRule xsi:nil="true" />
          </cancelRules>
          <paymentType>string</paymentType>
          <updateTime>string</updateTime>
          <orderDate>dateTime</orderDate>
          <confirmno>string</confirmno>
          <checkinDate>dateTime</checkinDate>
          <checkoutDate>dateTime</checkoutDate>
          <cityId>int</cityId>
          <cityName>string</cityName>
          <cityEName>string</cityEName>
          <hotelId>string</hotelId>
          <hotelName>string</hotelName>
          <hotelEName>string</hotelEName>
          <roomId>string</roomId>
          <roomName>string</roomName>
          <roomEName>string</roomEName>
          <roomnum>int</roomnum>
          <bedType>string</bedType>
          <isHoldRoom>string</isHoldRoom>
          <isRiskyOrder>string</isRiskyOrder>
          <contactName>string</contactName>
          <customerDid>string</customerDid>
          <customerName>string</customerName>
          <customerQuantity>int</customerQuantity>
          <additionalList>
            <anyType />
            <anyType />
          </additionalList>
          <specialMemo>string</specialMemo>
          <orderMemo>string</orderMemo>
          <dltIssueOrder>
            <issueOrderId>string</issueOrderId>
            <issueStatus>int</issueStatus>
            <hotelConfirmno>string</hotelConfirmno>
            <issueType>string</issueType>
            <purchaseCode>string</purchaseCode>
            <purchaseName>string</purchaseName>
            <purchaseTel>string</purchaseTel>
            <purchaseCurrency>string</purchaseCurrency>
            <purchasePrice>double</purchasePrice>
            <roomPurchasePriceList xsi:nil="true" />
          </dltIssueOrder>
          <roomPriceList>
            <RoomPriceList xsi:nil="true" />
            <RoomPriceList xsi:nil="true" />
          </roomPriceList>
        </dltOrderInfo>
      </GetdltOrderInfoResult>
    </GetdltOrderInfoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WebService.asmx HTTP/1.1
Host: hotelbooking365.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <SOAPHeaderAuth xmlns="http://tempuri.org/">
      <UserName>string</UserName>
      <Password>string</Password>
    </SOAPHeaderAuth>
  </soap12:Header>
  <soap12:Body>
    <GetdltOrderInfo xmlns="http://tempuri.org/">
      <objGetdltOrderInfo>
        <requestor>
          <invoker>string</invoker>
          <operatorName>string</operatorName>
          <opClientIP>string</opClientIP>
          <userId>int</userId>
          <languageType>string</languageType>
        </requestor>
        <supplierID>int</supplierID>
        <dltOrderId>string</dltOrderId>
      </objGetdltOrderInfo>
    </GetdltOrderInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetdltOrderInfoResponse xmlns="http://tempuri.org/">
      <GetdltOrderInfoResult>
        <ResponseStatus>
          <Timestamp>dateTime</Timestamp>
          <Ack>string</Ack>
          <Errors>
            <ObjError xsi:nil="true" />
            <ObjError xsi:nil="true" />
          </Errors>
          <Build />
          <Version>string</Version>
          <Extension>
            <Extension xsi:nil="true" />
            <Extension xsi:nil="true" />
          </Extension>
        </ResponseStatus>
        <resultStatus>
          <resultCode>int</resultCode>
          <resultMsg>string</resultMsg>
        </resultStatus>
        <dltOrderInfo>
          <dltOrderId>string</dltOrderId>
          <orderId>string</orderId>
          <releationOrder>
            <lastDltOrderId>string</lastDltOrderId>
            <nextDltOrderId>string</nextDltOrderId>
            <lastOrderId>string</lastOrderId>
            <nextOrderId>string</nextOrderId>
            <lastConfirmType>string</lastConfirmType>
            <nextConfirmType>string</nextConfirmType>
          </releationOrder>
          <channel>string</channel>
          <childChannel>string</childChannel>
          <orderCurrency>string</orderCurrency>
          <orderPrice>double</orderPrice>
          <formType>string</formType>
          <orderStatus>string</orderStatus>
          <cancelRules>
            <CancelRule xsi:nil="true" />
            <CancelRule xsi:nil="true" />
          </cancelRules>
          <paymentType>string</paymentType>
          <updateTime>string</updateTime>
          <orderDate>dateTime</orderDate>
          <confirmno>string</confirmno>
          <checkinDate>dateTime</checkinDate>
          <checkoutDate>dateTime</checkoutDate>
          <cityId>int</cityId>
          <cityName>string</cityName>
          <cityEName>string</cityEName>
          <hotelId>string</hotelId>
          <hotelName>string</hotelName>
          <hotelEName>string</hotelEName>
          <roomId>string</roomId>
          <roomName>string</roomName>
          <roomEName>string</roomEName>
          <roomnum>int</roomnum>
          <bedType>string</bedType>
          <isHoldRoom>string</isHoldRoom>
          <isRiskyOrder>string</isRiskyOrder>
          <contactName>string</contactName>
          <customerDid>string</customerDid>
          <customerName>string</customerName>
          <customerQuantity>int</customerQuantity>
          <additionalList>
            <anyType />
            <anyType />
          </additionalList>
          <specialMemo>string</specialMemo>
          <orderMemo>string</orderMemo>
          <dltIssueOrder>
            <issueOrderId>string</issueOrderId>
            <issueStatus>int</issueStatus>
            <hotelConfirmno>string</hotelConfirmno>
            <issueType>string</issueType>
            <purchaseCode>string</purchaseCode>
            <purchaseName>string</purchaseName>
            <purchaseTel>string</purchaseTel>
            <purchaseCurrency>string</purchaseCurrency>
            <purchasePrice>double</purchasePrice>
            <roomPurchasePriceList xsi:nil="true" />
          </dltIssueOrder>
          <roomPriceList>
            <RoomPriceList xsi:nil="true" />
            <RoomPriceList xsi:nil="true" />
          </roomPriceList>
        </dltOrderInfo>
      </GetdltOrderInfoResult>
    </GetdltOrderInfoResponse>
  </soap12:Body>
</soap12:Envelope>