This operation is designed to
cancel a services reservation in an existing booking.
Following is simple example of a services cancellation request. Click the active line numbers to read further details.
1 <OTA_CancelServRQ ReqRespVersion="1" CancelType="Confirm" xmlns="http://www.opentravel.org/OTA" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA ../../../html/OTASchemas/OTA_CancelRQ.xsd" EchoToken="echo" TimeStamp="2008-03-04T10:51:21Z" Target="Production" Version="1" SequenceNmbr="1" LanguageId="EN">
2 <POS>
3 <Source>
4 <UniqueId URL="" Type="ParsysOperatorCode" Id="db:code:pass" />
5 </Source>
6 </POS>
7 <UniqueId URL="" Type="Locator" Id="418526" />
8 <UniqueId URL="" Type="Reservation" Id="186224" />
9 </OTA_CancelServRQ>
This is the Service Cancel Request
main tag. Note all the attributes that must be included:
-
TimeStamp : Time in YYYY-MM-DD’T’HH-MM-SS’Z’ format.
-
Target : Always “Production”.
-
Version: By now, “1”.
-
LanguageId: Always ”EN”
-
SequenceNmbr:
Always “1”
-
EchoToken:
Always “Echo”
-
ReqRespVersion: By now, 1
-
CancelType: Always Confirm
Inside the request header, database, user
code and password have to be set. Otherwise the system will return an
authentication error.
This tag should include a “Source”
subtag, and this, another subtag “UniqueURL” containing the following attribute
values:
-
URL: Should be set as empty value “”.
-
Type: Should be set as "ParsysOperatorCode"
-
ID: Should be set as “db:usercode:password”
This tag is mandatory and must have an attribute
Type=“Locator” and another one, Id, with value = “Service Locator ID” to
cancel.
There is a second mandatory tag, with attribute
Type=”Reservation”, and ID=”Travel file ID”, that must be set to the dossier ID
containing the service.