SupplierWebService


Click here for a complete list of operations.

OTA_HotelInvCountNotif

Room type allocations

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 /services/HTNG.asmx HTTP/1.1
Host: propertyv2.quickbeds.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: ""

<?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>
    <HTNGHeader xmlns="http://htng.org/1.1/Header">
      <From>
        <systemId>string</systemId>
        <Credential>
          <userName>string</userName>
          <password>string</password>
        </Credential>
      </From>
      <To>
        <systemId>string</systemId>
      </To>
      <timeStamp>string</timeStamp>
      <echoToken>string</echoToken>
      <transactionId>string</transactionId>
      <action>string</action>
    </HTNGHeader>
  </soap:Header>
  <soap:Body>
    <OTA_HotelInvCountNotifRQ EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" xmlns="http://www.opentravel.org/OTA/2003/05">
      <POS>
        <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
          <RequestorID MessagePassword="string" />
          <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" PositionAccuracy="string" />
          <BookingChannel Type="string" Primary="boolean">
            <CompanyName xsi:nil="true" />
          </BookingChannel>
        </Source>
        <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
          <RequestorID MessagePassword="string" />
          <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" PositionAccuracy="string" />
          <BookingChannel Type="string" Primary="boolean">
            <CompanyName xsi:nil="true" />
          </BookingChannel>
        </Source>
      </POS>
      <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
        <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" />
      </UniqueID>
      <Inventories ChainCode="string" BrandCode="string" HotelCode="string" HotelCityCode="string" HotelName="string" HotelCodeContext="string" ChainName="string" BrandName="string">
        <Inventory>
          <StatusApplicationControl Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string" InvTypeCode="int" Start="string" End="string">
            <DestinationSystemCodes xsi:nil="true" />
          </StatusApplicationControl>
          <InvCounts>
            <InvCount xsi:nil="true" />
            <InvCount xsi:nil="true" />
          </InvCounts>
          <OffSell OffSellValueType="" OffSellValue="decimal" />
          <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
            <CompanyName xsi:nil="true" />
          </UniqueID>
        </Inventory>
        <Inventory>
          <StatusApplicationControl Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string" InvTypeCode="int" Start="string" End="string">
            <DestinationSystemCodes xsi:nil="true" />
          </StatusApplicationControl>
          <InvCounts>
            <InvCount xsi:nil="true" />
            <InvCount xsi:nil="true" />
          </InvCounts>
          <OffSell OffSellValueType="" OffSellValue="decimal" />
          <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
            <CompanyName xsi:nil="true" />
          </UniqueID>
        </Inventory>
        <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
          <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" />
        </UniqueID>
      </Inventories>
      <TPA_Extensions>xml</TPA_Extensions>
    </OTA_HotelInvCountNotifRQ>
  </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:Header>
    <HTNGHeader xmlns="http://htng.org/1.1/Header">
      <From>
        <systemId>string</systemId>
        <Credential>
          <userName>string</userName>
          <password>string</password>
        </Credential>
      </From>
      <To>
        <systemId>string</systemId>
      </To>
      <timeStamp>string</timeStamp>
      <echoToken>string</echoToken>
      <transactionId>string</transactionId>
      <action>string</action>
    </HTNGHeader>
  </soap:Header>
  <soap:Body>
    <OTA_HotelInvCountNotifRS xmlns="http://htng.org/1.1/Header">
      <Inventories ChainCode="string" BrandCode="string" HotelCode="string" HotelCityCode="string" HotelName="string" HotelCodeContext="string" ChainName="string" BrandName="string" xmlns="http://www.opentravel.org/OTA/2003/05">
        <Inventory>
          <StatusApplicationControl Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string" InvTypeCode="int" Start="string" End="string">
            <DestinationSystemCodes xsi:nil="true" />
          </StatusApplicationControl>
          <InvCounts>
            <InvCount xsi:nil="true" />
            <InvCount xsi:nil="true" />
          </InvCounts>
          <OffSell OffSellValueType="" OffSellValue="decimal" />
          <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
            <CompanyName xsi:nil="true" />
          </UniqueID>
        </Inventory>
        <Inventory>
          <StatusApplicationControl Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string" InvTypeCode="int" Start="string" End="string">
            <DestinationSystemCodes xsi:nil="true" />
          </StatusApplicationControl>
          <InvCounts>
            <InvCount xsi:nil="true" />
            <InvCount xsi:nil="true" />
          </InvCounts>
          <OffSell OffSellValueType="" OffSellValue="decimal" />
          <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
            <CompanyName xsi:nil="true" />
          </UniqueID>
        </Inventory>
        <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
          <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" />
        </UniqueID>
      </Inventories>
    </OTA_HotelInvCountNotifRS>
  </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 /services/HTNG.asmx HTTP/1.1
Host: propertyv2.quickbeds.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>
    <HTNGHeader xmlns="http://htng.org/1.1/Header">
      <From>
        <systemId>string</systemId>
        <Credential>
          <userName>string</userName>
          <password>string</password>
        </Credential>
      </From>
      <To>
        <systemId>string</systemId>
      </To>
      <timeStamp>string</timeStamp>
      <echoToken>string</echoToken>
      <transactionId>string</transactionId>
      <action>string</action>
    </HTNGHeader>
  </soap12:Header>
  <soap12:Body>
    <OTA_HotelInvCountNotifRQ EchoToken="string" TimeStamp="dateTime" Target="" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" xmlns="http://www.opentravel.org/OTA/2003/05">
      <POS>
        <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
          <RequestorID MessagePassword="string" />
          <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" PositionAccuracy="string" />
          <BookingChannel Type="string" Primary="boolean">
            <CompanyName xsi:nil="true" />
          </BookingChannel>
        </Source>
        <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
          <RequestorID MessagePassword="string" />
          <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" PositionAccuracy="string" />
          <BookingChannel Type="string" Primary="boolean">
            <CompanyName xsi:nil="true" />
          </BookingChannel>
        </Source>
      </POS>
      <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
        <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" />
      </UniqueID>
      <Inventories ChainCode="string" BrandCode="string" HotelCode="string" HotelCityCode="string" HotelName="string" HotelCodeContext="string" ChainName="string" BrandName="string">
        <Inventory>
          <StatusApplicationControl Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string" InvTypeCode="int" Start="string" End="string">
            <DestinationSystemCodes xsi:nil="true" />
          </StatusApplicationControl>
          <InvCounts>
            <InvCount xsi:nil="true" />
            <InvCount xsi:nil="true" />
          </InvCounts>
          <OffSell OffSellValueType="" OffSellValue="decimal" />
          <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
            <CompanyName xsi:nil="true" />
          </UniqueID>
        </Inventory>
        <Inventory>
          <StatusApplicationControl Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string" InvTypeCode="int" Start="string" End="string">
            <DestinationSystemCodes xsi:nil="true" />
          </StatusApplicationControl>
          <InvCounts>
            <InvCount xsi:nil="true" />
            <InvCount xsi:nil="true" />
          </InvCounts>
          <OffSell OffSellValueType="" OffSellValue="decimal" />
          <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
            <CompanyName xsi:nil="true" />
          </UniqueID>
        </Inventory>
        <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
          <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" />
        </UniqueID>
      </Inventories>
      <TPA_Extensions>xml</TPA_Extensions>
    </OTA_HotelInvCountNotifRQ>
  </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:Header>
    <HTNGHeader xmlns="http://htng.org/1.1/Header">
      <From>
        <systemId>string</systemId>
        <Credential>
          <userName>string</userName>
          <password>string</password>
        </Credential>
      </From>
      <To>
        <systemId>string</systemId>
      </To>
      <timeStamp>string</timeStamp>
      <echoToken>string</echoToken>
      <transactionId>string</transactionId>
      <action>string</action>
    </HTNGHeader>
  </soap12:Header>
  <soap12:Body>
    <OTA_HotelInvCountNotifRS xmlns="http://htng.org/1.1/Header">
      <Inventories ChainCode="string" BrandCode="string" HotelCode="string" HotelCityCode="string" HotelName="string" HotelCodeContext="string" ChainName="string" BrandName="string" xmlns="http://www.opentravel.org/OTA/2003/05">
        <Inventory>
          <StatusApplicationControl Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string" InvTypeCode="int" Start="string" End="string">
            <DestinationSystemCodes xsi:nil="true" />
          </StatusApplicationControl>
          <InvCounts>
            <InvCount xsi:nil="true" />
            <InvCount xsi:nil="true" />
          </InvCounts>
          <OffSell OffSellValueType="" OffSellValue="decimal" />
          <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
            <CompanyName xsi:nil="true" />
          </UniqueID>
        </Inventory>
        <Inventory>
          <StatusApplicationControl Mon="boolean" Tue="boolean" Weds="boolean" Thur="boolean" Fri="boolean" Sat="boolean" Sun="boolean" RatePlanCodeType="" RateTier="string" AllRateCode="boolean" AllInvCode="boolean" InvBlockCodeApply="" InvBlockCode="string" Override="boolean" QuoteID="string" SubBlockCode="string" WingIdentifier="string" InvTypeCode="int" Start="string" End="string">
            <DestinationSystemCodes xsi:nil="true" />
          </StatusApplicationControl>
          <InvCounts>
            <InvCount xsi:nil="true" />
            <InvCount xsi:nil="true" />
          </InvCounts>
          <OffSell OffSellValueType="" OffSellValue="decimal" />
          <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
            <CompanyName xsi:nil="true" />
          </UniqueID>
        </Inventory>
        <UniqueID URL="anyURI" Type="string" Instance="string" ID_Context="string" ID="string" Deny="string">
          <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" Division="string" Department="string" />
        </UniqueID>
      </Inventories>
    </OTA_HotelInvCountNotifRS>
  </soap12:Body>
</soap12:Envelope>