The Flight Ticketing Request is used to issue e-ticket for previously created PNR.
OTA_AirDemandTicketRQ*:
*mandatory
OTA_AirDemandTicketRQ/DemandTicketDetail*:
Element | Attribute | Type | Description | Min…Max occurs |
---|
BookingReferenceID* | | | Contains “client” and/or "basket" BookingReferenceID from the Reservation Confirmation Response. | 1...2 |
| ID* | string | A unique value of booking reference. | 1...1 |
| Instance* | string ("client", "basket") | Indicates type of BookingReference ID. Should have one the following values: “basket” – used to issue all tickets in basket. “client” – used to issue single ticket. “basket” and “client” – used to issue individual ticket from basket. Basket ID should be placed first, the client ID should be placed second. In current version it's impossible to issue several tickets from basket this way. | 1...1 |
| ID_Context | string | Contains the supplier's code. Exist only if Instance attribute has value =“client“. | 0...1 |
Commissions | | | Contains a list of commissions that can be applied for different types of passengers. | 0...1 |
Commissions/Commission* | | | Contains information to specify the commission (this may be required for specific suppliers, so it is for the client system to decide where necessary). | 1...15 |
| Amount | decimal | Specifies commission as fixed amount. | 0...1 |
| Percent | decimal | The percentage value of the commission. | 0...1 |
| CurrencyCode | | For more information see Common Data Description section in Glossary. | 0...1 |
| PassengerTypeCode | string ("ADT", "CHD", "INF", "INS") | Specifies the particular passenger type. If this attribute is absent in the request it means that commission is the same for all passenger's types. | 0...1 |
| ReservationRPHList | string | Specifies the particular journey reservation (AirReservation RPH number). If this attribute is absent in the request it means that commission is the same for all reservations. | 0...1 |
Queues/Queue* | | | For more information see Reservation Initiate Request section. | 1...10 |
Flight Ticketing Request (with AirTraveller info) Sample XML
<OTA_AirDemandTicketRQ EchoToken="12345" Version="2" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7" PriceDomain="1"/>
</Source>
</POS>
<DemandTicketDetail>
<BookingReferenceID ID="ol1" Instance="client"/>
<Commissions>
<Commission Percent="5"/>
</Commissions>
<Queues>
<Queue QueueNumber="1" QueueCategory="1"/>
</Queues>
<TravelerInfo>
<AirTraveler BirthDate="1970-03-27" PassengerTypeCode="ADT">
<ProfileRef>
<UniqueID ID="1" Type="1"/>
</ProfileRef>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Nick</GivenName>
<Surname>Farrel</Surname>
</PersonName>
<Telephone LocationCode="703" PhoneNumber="555-5555"/>
<Email>johnsmith@home.com</Email>
<Address>
<AddressLine>12 Main Street</AddressLine>
<CityName>Dallas</CityName>
<PostalCode>75000</PostalCode>
<StateProv StateCode="TX"/>
<CountryName Code="US"/>
</Address>
<CustLoyalty ProgramID="AA" MembershipID="Q56GTF"/>
<Document DocHolderNationality="GB" DocID="11111" DocIssueCountry="GB" DocIssueLocation="London" DocType="P" EffectiveDate="2017-12-11" ExpireDate="2025-12-11" Gender="Male"/>
</AirTraveler>
<AirTraveler BirthDate="1975-07-17" PassengerTypeCode="ADT">
<ProfileRef>
<UniqueID ID="2" Type="1"/>
</ProfileRef>
<PersonName>
<NamePrefix>Ms</NamePrefix>
<GivenName>Helen</GivenName>
<Surname>Farrel</Surname>
</PersonName>
<Document DocHolderNationality="GB" DocID="145768" DocIssueCountry="GB" DocIssueLocation="London" DocType="P" EffectiveDate="2017-12-11" ExpireDate="2025-12-11" Gender="Female" BirthCountry="FR" BirthPlace="Paris" HolderType="H" DocDestinationCountry="US" DocDestinationLocation="NEW YORK" PostalCode="178668">
<DocHolderFormattedName>
<NamePrefix>MS</NamePrefix>
<GivenName>HELEN</GivenName>
<MiddleName>LUISA</MiddleName>
<Surname>FARREL</Surname>
</DocHolderFormattedName>
</Document>
</AirTraveler>
<AirTraveler BirthDate="2010-11-27" PassengerTypeCode="CHD">
<ProfileRef>
<UniqueID ID="3" Type="1"/>
</ProfileRef>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Boy</GivenName>
<Surname>Farrel</Surname>
</PersonName>
<Document DocHolderNationality="GB" DocID="09865" DocIssueLocation="GB" DocType="P" EffectiveDate="2017-12-11" ExpireDate="2025-12-11" Gender="Male"/>
</AirTraveler>
</TravelerInfo>
</DemandTicketDetail>
</OTA_AirDemandTicketRQ>
Flight Ticketing Request (with ClientID) Sample XML
<OTA_AirDemandTicketRQ EchoToken="EchoToken" Version="2" PrimaryLangID="en">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7"/>
</Source>
</POS>
<DemandTicketDetail>
<BookingReferenceID ID="o67gfj34kn24nm1f" Instance="client"/>
</DemandTicketDetail>
</OTA_AirDemandTicketRQ>
Flight Ticketing Request (with basket) Sample XML
<OTA_AirDemandTicketRQ EchoToken="EchoToken" Version="2.0" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7" PriceDomain="1"/>
</Source>
</POS>
<DemandTicketDetail>
<BookingReferenceID ID="o67gfj34kn24nm1f" Instance="basket"/>
<TravelerInfo>
<AirTraveler BirthDate="1986-11-02" PassengerTypeCode="ADT">
<ProfileRef>
<UniqueID ID="1" Type="1"/>
</ProfileRef>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>John</GivenName>
<Surname>Robin</Surname>
</PersonName>
<Telephone PhoneLocationType="8" PhoneNumber="+375121234567"/>
<Email>john_1998@home.com</Email>
<Document DocHolderNationality="USA" DocID="1234567890" DocIssueCountry="USA" DocType="P" EffectiveDate="2018-02-02" ExpireDate="2025-06-14" Gender="Male" HolderType="H"/>
</AirTraveler>
</TravelerInfo>
</DemandTicketDetail>
</OTA_AirDemandTicketRQ>