OHHService


Click here for a complete list of operations.

cancel

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 /OpenHotelHub.asmx HTTP/1.1
Host: ashburnconcur.roomit.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.opentravel.org/OTA/2003/05/cancel"

<?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>
    <authentication xmlns="http://www.concur.com/webservice/auth">
      <userid>string</userid>
      <password>string</password>
    </authentication>
  </soap:Header>
  <soap:Body>
    <OTA_CancelRQ Version="decimal" EchoToken="string" CancelType="Book or Quote or Hold or Initiate or Ignore or Modify or Commit or Cancel or CommitOverrideEdits" PrimaryLangID="string" xmlns="http://www.opentravel.org/OTA/2003/05">
      <POS>
        <Source ISOCountry="string" ISOCurrency="string" AirportCode="string">
          <RequestorID Type="string" ID="string" />
          <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" />
          <BookingChannel>
            <CompanyName xsi:nil="true" />
          </BookingChannel>
        </Source>
        <Source ISOCountry="string" ISOCurrency="string" AirportCode="string">
          <RequestorID Type="string" ID="string" />
          <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" />
          <BookingChannel>
            <CompanyName xsi:nil="true" />
          </BookingChannel>
        </Source>
      </POS>
      <UniqueID Reason="string" />
      <UniqueID Reason="string" />
    </OTA_CancelRQ>
  </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>
    <OTA_CancelRS EchoToken="string" Version="decimal" Status="Unsuccessful or Reserved or Cancelled or Committed" xmlns="http://www.opentravel.org/OTA/2003/05" />
  </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 /OpenHotelHub.asmx HTTP/1.1
Host: ashburnconcur.roomit.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>
    <authentication xmlns="http://www.concur.com/webservice/auth">
      <userid>string</userid>
      <password>string</password>
    </authentication>
  </soap12:Header>
  <soap12:Body>
    <OTA_CancelRQ Version="decimal" EchoToken="string" CancelType="Book or Quote or Hold or Initiate or Ignore or Modify or Commit or Cancel or CommitOverrideEdits" PrimaryLangID="string" xmlns="http://www.opentravel.org/OTA/2003/05">
      <POS>
        <Source ISOCountry="string" ISOCurrency="string" AirportCode="string">
          <RequestorID Type="string" ID="string" />
          <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" />
          <BookingChannel>
            <CompanyName xsi:nil="true" />
          </BookingChannel>
        </Source>
        <Source ISOCountry="string" ISOCurrency="string" AirportCode="string">
          <RequestorID Type="string" ID="string" />
          <Position Latitude="string" Longitude="string" Altitude="string" AltitudeUnitOfMeasureCode="string" />
          <BookingChannel>
            <CompanyName xsi:nil="true" />
          </BookingChannel>
        </Source>
      </POS>
      <UniqueID Reason="string" />
      <UniqueID Reason="string" />
    </OTA_CancelRQ>
  </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>
    <OTA_CancelRS EchoToken="string" Version="decimal" Status="Unsuccessful or Reserved or Cancelled or Committed" xmlns="http://www.opentravel.org/OTA/2003/05" />
  </soap12:Body>
</soap12:Envelope>