OTA_CancelRQ

Agoda will send a cancellation request with a booking id to be cancelled to suppliers for cancel booking. Booking cancellations will be completed once Agoda received success response with cancellation number from suppliers.

Example OTA_CancelRQ

<OTA_CancelRQ Version="0.2" TimeStamp="2018-02-07T13:38:57+07:00" xmlns="http://www.opentravel.org/OTA/2003/05">
    <POS>
        <Source>
            <RequestorID ID="96637800" ID_Context="IATA" Type="18" URL="Agoda.com"/>
        </Source>
    </POS>
    <UniqueID ID="210466950" Type="4" ID_Context="Agoda"/>
    <UniqueID ID="3414274153" Type="5" ID_Context="DHIL"/>
</OTA_CancelRQ>

Elements and Attributes

OTA_CancelRQ
Element or @AttributeData TypeNo. of occurMandatoryExampleDescription
OTA_CancelRQdatetime1Y2016-09-01T13 :25 :42+07:00Indicates the creation date and time of the message using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ss(+/-)hh:mm with time values using the 24 hour clock (e.g. 20 November 2016, 1:59:38 pm BKK becomes 2016-11-20T13:59:38+07:00).
@Timestamp
@Versiondecimal, n.n1Y0.1For all OTA versioned messages, the version of the message is indicated by a decimal value.
@xmlnsstring1Yhttp://www.opentravel.org/OTA/2003/05Namespace for the OTA payload message.
POSnumeric length 81Y96637800Unique identifier of the requestor.
SourceAgoda’s IATA ID is 96637800
RequestorID
@ ID
@ ID_Contextalpha length 41YIATAUsed to identify the source of the identifier
@ TypeOTA_CodeType1Y18Reference to the type of requestor. 18 = Other
@ URLString length 1 to 501YAgoda.comUsed to identify the source url
UniqueID1Y
@IDstring1Y12345Requester will send both Agoda’s booking id or Supplier booking id which use for make booking.
length
1 to 20
@Typenumeric1Y4Reference to the type of requestor.
4 = Agoda’s booking ID
5 = Supplier’s booking  ID
@ID_Contextstring length 1 to 501Yagoda.comSource of the booking id