Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Flight Ticketing Request is used to issue e-ticket for previously created PNR.

OTA_AirDemandTicketRQ*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

PrimaryLangID*

For more information see Common Data Description section in Glossary.

1...1

DemandTicketDetail*

Specifies the information necessary for the issuer of the ticket to issue the ticket.

1...1

DemandTicketDetail/AirReservations/AirReservation/TravelerInfo/AirTraveler

For more information see Reservation Initiate Request section. If not specified, then the traveler details specified at the reservation are used for ticketing.

Info

Note: GP HUB will return an error if passenger names or birth of date is changed on Ticketing Request. What information can be changed depends on supplier.

0...*

DemandTicketDetail/AirReservations/AirReservation/TravelerInfo/SpecialReqDetails

For more information see Reservation Initiate Request section.

Info

Important note: according to GPHUB convention, FE remark (Fare Endorsement) should be added(!) to existing FE remarks in case if FE remarks has been already added to PNR for exactly the same segments and passengers, or should be created a new one.

0...1

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.

...

OTA_AirDemandTicketRQ/DemandTicketDetail*:

...

languagexml

...

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

...

titleFlight Ticketing Request (with AirTraveller info) Sample XML

.

1...10

Expand
titleFlight Ticketing Request (with AirTraveller info) Sample XML
Code Block
languagexml
<OTA_AirDemandTicketRQ EchoToken="12345" Version="2" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
   <POS>
     <PersonName> <Source>
         <RequestorID ID="client"    <NamePrefix>Mr</NamePrefix>
 MessagePassword="pwd" Type="22"/>
         <BookingChannel    <GivenName>Nick</GivenName>Type="7" PriceDomain="1"/>
      </Source>
   </POS>
   <DemandTicketDetail>
<Surname>Farrel</Surname>      <BookingReferenceID    ID="ol1" Instance="client"/>
  </PersonName>    <Commissions>
        <Telephone LocationCode="703" PhoneNumber<Commission Percent="555-55555"/>
      </Commissions>
      <Queues>
      <Email>johnsmith@home.com</Email>   <Queue QueueNumber="1" QueueCategory="1"/>
      </Queues>
<Address>      <TravelerInfo>
         <AddressLine>12 Main Street</AddressLine><AirTraveler BirthDate="1970-03-27" PassengerTypeCode="ADT">
            <ProfileRef>
  <CityName>Dallas</CityName>             <UniqueID   <PostalCode>75000</PostalCode>ID="1" Type="1"/>
               <StateProv StateCode="TX"/></ProfileRef>
             <PersonName>
 <CountryName Code="US"/>             </Address>
  <NamePrefix>Mr</NamePrefix>
         <CustLoyalty ProgramID="AA" MembershipID="Q56GTF"/>       <GivenName>Nick</GivenName>
     <Document DocHolderNationality="GB" DocID="11111" DocIssueCountry="GB" DocIssueLocation="London" DocType="P" EffectiveDate="2017-12-11" ExpireDate="2025-12-11" Gender="Male"/>    <Surname>Farrel</Surname>
            </AirTraveler>PersonName>
            <AirTraveler<Telephone BirthDateLocationCode="1975-07-17703" PassengerTypeCodePhoneNumber="ADT">555-5555"/>
            <Email>johnsmith@home.com</Email>
            <ProfileRef><Address>
               <UniqueID ID="2" Type="1"/><AddressLine>12 Main Street</AddressLine>
               </ProfileRef><CityName>Dallas</CityName>
               <PersonName><PostalCode>75000</PostalCode>
               <StateProv <NamePrefix>Ms</NamePrefix>StateCode="TX"/>
               <CountryName <GivenName>Helen</GivenName>Code="US"/>
            </Address>
  <Surname>Farrel</Surname>          <CustLoyalty   </PersonName>ProgramID="AA" MembershipID="Q56GTF"/>
            <Document DocHolderNationality="GB" DocID="14576811111" 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">Male"/>
         </AirTraveler>
         <AirTraveler BirthDate="1975-07-17" PassengerTypeCode="ADT">
            <ProfileRef>
               <UniqueID ID="2" Type="1"/>
   <DocHolderFormattedName>         </ProfileRef>
         <NamePrefix>MS</NamePrefix>   <PersonName>
               <GivenName>HELEN<<NamePrefix>Ms</GivenName>NamePrefix>
                  <MiddleName>LUISA</MiddleName><GivenName>Helen</GivenName>
                  <Surname>FARREL<<Surname>Farrel</Surname>
               </DocHolderFormattedName>PersonName>
            </Document>
         </AirTraveler>
         <AirTraveler BirthDate="2010-11-27" PassengerTypeCode="CHD">
<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">
           <ProfileRef>                <UniqueID ID="3" Type="1"/>
      <DocHolderFormattedName>
     </ProfileRef>             <PersonName> <NamePrefix>MS</NamePrefix>
              <NamePrefix>Mr</NamePrefix>    <GivenName>HELEN</GivenName>
           <GivenName>Boy</GivenName>       <MiddleName>LUISA</MiddleName>
        <Surname>Farrel</Surname>          <Surname>FARREL</Surname>
  </PersonName>             <Document DocHolderNationality="GB" DocID="09865" DocIssueLocation="GB" DocType="P" EffectiveDate="2017-12-11" ExpireDate="2025-12-11" Gender="Male"/></DocHolderFormattedName>
            </Document>
         </AirTraveler>
         <SpecialReqDetails>
 <AirTraveler BirthDate="2010-11-27" PassengerTypeCode="CHD">
          <SeatRequests>   <ProfileRef>
            <SeatRequest RowNumber="14" SeatNumber="A" SeatCharacteristic="W.1" TravelerRefNumberRPHList="1" FlightSegmentRPHList   <UniqueID ID="3" Type="1"/>
            </SeatRequests>ProfileRef>
            <SpecialServiceRequests><PersonName>
               <SpecialServiceRequest SSRCode="WCHR" TravelerRefNumberRPHList="1" FlightSegmentRPHList="1"><NamePrefix>Mr</NamePrefix>
                    <Airline>AF</Airline><GivenName>Boy</GivenName>
               <Surname>Farrel</Surname>
  <Text>SSR Text</Text>         </PersonName>
      </SpecialServiceRequest>      <Document DocHolderNationality="GB" DocID="09865" DocIssueLocation="GB" DocType="P" EffectiveDate="2017-12-11"  </SpecialServiceRequests>ExpireDate="2025-12-11" Gender="Male"/>
         </SpecialReqDetails>AirTraveler>
      </TravelerInfo>
   </DemandTicketDetail>
</OTA_AirDemandTicketRQ>

...