OrderCreate 19.2

Attachments:

Introduction

The OrderCreate Webservice provides Travel Agents with the ability to create reservations. OrderViewRS is a reply on OrderCreateRQ, it returns PNR/Reservation details. The service also returns BilateralTimeLimit (Ticket Time Limit). The client must pay for the booking using OrderChange Webservice before the time limit expires otherwise booking will automatically be cancelled.

OrderCreate Webservice

This service creates an Order (PNR) 

Limitations (This list is not exhaustive)

  1. The service supports the creation of bookings, for parties of up to 9 passengers
  2. Itinerary with only children passengers and with only infant passengers will not be priced
  3. Unaccompanied minors

This web service is called with the following inputs:

  1. OfferID and ShoppingResponseID are returned in the previous AirShopping or FlightPrice response
  2. Passengers name details
  3. Passengers documents details
  4. Contacts details 

The output data this service returns include:

  1. Booking reference (PNR)
  2. Offer Expiry Time Limit and Price Guarantee Time Limit
  3. Passengers name details
  4. Passengers documents details
  5. Contacts details 
  6. Total Order Price
  7. Tax breakdown
  8. Base amount
  9. Fare base code and Record Booking Designator (RBD) 
  10. Flight details such as Flight Number, Flight schedule information, Equipment, Cabin, etc.
  11. Checked baggage details


Access 

In order to access API, you will need to pass the following two headers for each call.

  • Authentication and authorization stand on the protocol layer using basic HTTP authentication. Given username and password with separator “:” MUST be base64-encoded and passed as HTTP header “Authorization”. This header is mandatory for all requests. For example, if "TestLogin" set as the username and "TestPass" set as the password, then the field's value is base64-encoding of TestLogin: TestPass, or QWxhZGRpbjpPcGVuU2VzYW1l. Then the Authorization header will appear as Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l

  • Header 'Content-Type: text/xml' 
  • Message structure: <soapenv:Envelope><soapenv:Body> Message... </soapenv:Body></soapenv:Envelope>

OrderCreateRQ structure

OrderCreateRQ
<IATA_OrderCreateRQ xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_OrderCreateRQ" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.iata.org/IATA/2015/00/2019.2/IATA_OrderCreateRQ NDC/19_2_schemas/IATA_OrderCreateRQ.xsd">
	<MessageDoc>
		<RefVersionNumber>19.2</RefVersionNumber>
	</MessageDoc>
	<Party>
		<Sender>
			<TravelAgency>
				<AgencyID>TA123</AgencyID>
				<Name>TravelAgent</Name>
				<PseudoCityID>IEVPS28ND</PseudoCityID>
			</TravelAgency>
		</Sender>
	</Party>
	<Request>
		<Commission>
			<Amount CurCode="UAH">1</Amount>
			<!-- OR <Percentage>5</Percentage>-->
		</Commission>
		<CreateOrder>
			<SelectedOffer>
				<OfferRefID>97482365-a144-4009-b280-6a8cddf59f42</OfferRefID>
				<OwnerCode>PS</OwnerCode>
				<SelectedOfferItem>
					<OfferItemRefID>97482365-a144-4009-b280-6a8cddf59f42-PAX1</OfferItemRefID>
					<PaxRefID>PAX1</PaxRefID>
				</SelectedOfferItem>
				<SelectedOfferItem>
					<OfferItemRefID>97482365-a144-4009-b280-6a8cddf59f42-PAX2</OfferItemRefID>
					<PaxRefID>PAX2</PaxRefID>
				</SelectedOfferItem>
				<ShoppingResponseRefID>c838fd37-7fc6-457b-8fe6-a98567c5c012</ShoppingResponseRefID>
			</SelectedOffer>
		</CreateOrder>
		<DataLists>
			<ContactInfoList>
				<ContactInfo>
					<ContactInfoID>ContactInfo-PAX</ContactInfoID>
					<EmailAddress>
						<EmailAddressText>mail@mail.com</EmailAddressText>
					</EmailAddress>
					<Phone>
						<PhoneNumber>1208953712</PhoneNumber>
					</Phone>
				</ContactInfo>
			</ContactInfoList>
			<PaxList>
				<Pax>
					<ContactInfoRefID>ContactInfo-PAX</ContactInfoRefID>
					<IdentityDoc>
						<CitizenshipCountryCode>UA</CitizenshipCountryCode>
						<ExpiryDate>2021-11-07</ExpiryDate>
						<IdentityDocID>ABC7891</IdentityDocID>
						<IdentityDocTypeCode>PT</IdentityDocTypeCode>
						<IssuingCountryCode>UA</IssuingCountryCode>
					</IdentityDoc>
					<Individual>
						<Birthdate>1980-09-25</Birthdate>
						<GenderCode>M</GenderCode>
						<GivenName>ONE</GivenName>
						<IndividualID>PAX123</IndividualID>
						<Surname>TRAVELLER</Surname>
						<TitleName>Mrs</TitleName>
					</Individual>
					<LoyaltyProgramAccount>
						<AccountNumber>2342342342</AccountNumber>
						<LoyaltyProgram>
							<ProgramCode>PC</ProgramCode>
						</LoyaltyProgram>
					</LoyaltyProgramAccount>
					<LoyaltyProgramAccount>
						<AccountNumber>2342342555</AccountNumber>
						<LoyaltyProgram>
							<ProgramCode>PCC</ProgramCode>
						</LoyaltyProgram>
					</LoyaltyProgramAccount>
					<PaxID>PAX1</PaxID>
					<PaxRefID>PAX2</PaxRefID>
					<PTC>ADT</PTC>
				</Pax>
				<Pax><!--Only for SEA passenger type-->
					<ContactInfoRefID>ContactInfo-PAX</ContactInfoRefID>
					<IdentityDoc>
						<CitizenshipCountryCode>UA</CitizenshipCountryCode>
						<ExpiryDate>2021-11-07</ExpiryDate>
						<IdentityDocID>ABC7891</IdentityDocID>
						<IdentityDocTypeCode>PT</IdentityDocTypeCode>
						<IssuingCountryCode>UA</IssuingCountryCode>
					</IdentityDoc>
					<Individual>
						<Birthdate>1980-09-25</Birthdate>
						<GenderCode>M</GenderCode>
						<GivenName>ONE</GivenName>
						<IndividualID>PAX123</IndividualID>
						<Surname>TRAVELLER</Surname>
						<TitleName>Mrs</TitleName>
					</Individual>
					<LoyaltyProgramAccount>
						<AccountNumber>2342342342</AccountNumber>
						<LoyaltyProgram>
							<ProgramCode>PC</ProgramCode>
						</LoyaltyProgram>
					</LoyaltyProgramAccount>
					<LoyaltyProgramAccount>
						<AccountNumber>2342342555</AccountNumber>
						<LoyaltyProgram>
							<ProgramCode>PCC</ProgramCode>
						</LoyaltyProgram>
					</LoyaltyProgramAccount>
					<PaxID>PAX2</PaxID>
					<PTC>SEA</PTC>
					<Remark>
						<RemarkText>EEVRGREEN/THAILAND/1234567</RemarkText><!--vessel name/country of registration/TA IATA number-->
					</Remark>
				</Pax>
				<Pax>
					<IdentityDoc>
						<CitizenshipCountryCode>UA</CitizenshipCountryCode>
						<ExpiryDate>2021-11-07</ExpiryDate>
						<IdentityDocID>XYZ7891</IdentityDocID>
						<IdentityDocTypeCode>PT</IdentityDocTypeCode>
						<IssuingCountryCode>UA</IssuingCountryCode>
					</IdentityDoc>
					<Individual>
						<Birthdate>2019-09-25</Birthdate>
						<GenderCode>F</GenderCode>
						<GivenName>ONE</GivenName>
						<Surname>INFANT</Surname>
						<TitleName>Mrs</TitleName>
					</Individual>
					<LoyaltyProgramAccount>
						<AccountNumber>2342342555</AccountNumber>
						<LoyaltyProgram>
							<ProgramCode>PCC</ProgramCode>
						</LoyaltyProgram>
					</LoyaltyProgramAccount>
					<PaxID>PAX3</PaxID>
					<PTC>INF</PTC>
				</Pax>
			</PaxList>
		</DataLists>
	</Request>
</IATA_OrderCreateRQ>

OrderCreateRQ fields description

 Click here to expand...

M = Mandatory; O = Optional; C = Conditional

Field name

Description

M/O/C

Example

OrderCreateRQ

The OrderCreate/ OrderView transaction requests that an order to be created (returning the complete view of the Order)


M


O

↳ MessageDoc

NDC Message Document information.M


   ↳ RefVersionNumberService Version.M

<RefVersionNumber>19.2</RefVersionNumber>

↳ Party

NDC Message/ Transaction Party(s) information. Note that information about parties is intended for business use, it is not intended for transaction authentication and routing of the message.

M


   ↳ Sender

Information related to the party sending this message.

M


      ↳ TravelAgency

SELLER: Travel Agency

M


         ↳ AgencyID

Unique Agency Seller ID. Example: TA123

M

<AgencyID>TA123</AgencyID>

         ↳ Name

Agency name. Example: Carson Travel

M

<Name>TravelAgent</Name>

         ↳ PseudoCityID

Travel Agent's Office ID.

M

<PseudoCityID>IEVPS28ND</PseudoCityID>
↳ RequestOrder create requestM
   ↳ CommissionAn amount of money, typically a set percentage of the value involved, paid to an agent in a commercial transaction.O
      ↳ AmountCommission amountC

<Amount>1</Amount>

!!! Please kindly note that the mentioned value "1" is given as an example, and Agent should verify and put the relevant value according to the Contract.

      ↳ PercentageCommission percentage.C

<Percentage>5</Percentage>

!!! Please kindly note that the mentioned value "5" is given as an example, and Agent should verify and put the relevant value according to the Contract.

   ↳ CreateOrderSpecifyindividual Order Item Sets and their associated Offer Item(s).M
      ↳ SelectedOfferOffer selected by the Passenger for requesting an Order to be created.M
         ↳ OfferRefIDReference to the OfferID of the selected Offer (either a standard Offer or an a-la-carte Offer) returned in a previous shopping response.M<OfferRefID>97482365-a144-4009-b280-6a8cddf59f42</OfferRefID>
         ↳ OwnerCodeDesignator of Airline that owns/ assigned these IDs.M<OwnerCode>PS</OwnerCode>
         ↳ SelectedOfferItemOfferItem selected by the Passenger for inclusion in the requested Order.O
            ↳ OfferItemRefIDReference to the OfferItemID of the selected OfferItem (contained in either a standard Offer or an a-la-carte Offer) returned in a previous shopping response.M<OfferItemRefID>97482365-a144-4009-b280-6a8cddf59f42-PAX1</OfferItemRefID>
            ↳ PaxRefIDReference to passenger(s) for which this OfferItem and selected Services (in case of Service Bundles) applies.M<PaxRefID>PAX1</PaxRefID>
         ↳ ShoppingResponseRefIDReference to unique shopping session response ID, as provided in the airline's previous shopping response.M<ShoppingResponseRefID>c838fd37-7fc6-457b-8fe6-a98567c5c012</ShoppingResponseRefID>
   ↳ DataListsData List definition for this message.M
      ↳ ContactInfoListContact info data list definition.M
         ↳ ContactInfoThe electronic or geographic address which a party has provided as the contact channel. For example, contact email, contact postal address, contact phone number.M
            ↳ ContactInfoIDUniquely Identifies a set of Contact Information, within the context of one message.M<ContactInfoID>ContactInfo-PAX</ContactInfoID>
            ↳ EmailAddressThe email address which should be used for contact purposes.M
               ↳ EmailAddressTextThe email address which should be used for contact purposes.M<EmailAddressText>TEST-AGENT@MAIL.COM</EmailAddressText>
            ↳ PhoneA telephone number is a sequence of digits.M
               ↳ PhoneNumberPhone number text.M<PhoneNumber>1208953712</PhoneNumber>
      ↳ PaxListPassenger data list definition.M
         ↳ PaxAny person except members of the crew carried or to be carried with the consent of the carrier, on board of any transport vehicle such as aircraft, train, bus, ship. Holds the attributes specific to one booking, from shopping to fulfilment.M
            ↳ ContactInfoRefIDReference to a Contact Info ID within this message.M<ContactInfoRefID>ContactInfo-PAX</ContactInfoRefID>
            ↳ IdentityDocAny document which may be used to identify a person or verify aspects of a person's personal identity.O
               ↳ CitizenshipCountryCodeISO Country Code M<CitizenshipCountryCode>UA</CitizenshipCountryCode>
               ↳ ExpiryDateThe date the identity document expires.M<ExpiryDate>2021-11-07</ExpiryDate>
               ↳ IdentityDocIDUniquely identifies the document from all other identity documents issued by the state or organization.M<IdentityDocID>ABC7891</IdentityDocID>
               ↳ IdentityDocTypeCodeThe type of passenger document.M<IdentityDocTypeCode>PT</IdentityDocTypeCode>
               ↳ IssuingCountryCodeISO Country CodeM<IssuingCountryCode>UA</IssuingCountryCode>
            ↳ IndividualA single human being as distinct from a group, class, or family.M
               ↳ BirthdateThe date on which an individual was born.M<Birthdate>1980-09-25</Birthdate>
               ↳ GenderCodeGender of the individual (M, F, or X for unspecified).M<GenderCode>M</GenderCode>
               ↳ GivenNameIndividual's first or given name.M<GivenName>ONE</GivenName>
               ↳ Surname

Individual's family name, last name.

Note! The total First and Last name length of ADT + associated INF should not exceed 35 symbols.

M<Surname>TRAVELLER</Surname>
               ↳ TitleNameA word such as Mr., Mrs., Miss or Dr that is used before an individual's name to indicate the gender, profession or marital status.M<TitleName>Mrs</TitleName>
            ↳ LoyaltyProgramAccountAn account set up for a customer within a rewards program which holds funds on behalf of that customer.O
               ↳ AccountNumberLoyalty Program account number.M<AccountNumber>2342342555</AccountNumber>
               ↳ LoyaltyProgramA rewards program offered by a company to customers who frequently make purchases, which may give a customer advanced access to new products, special sales coupons or free merchandise.M
                  ↳ ProgramCode

Loyalty Program ID

Supported codes:

  • PC - Panorama Club
  • PCC - Panorama Club Corporate
M<ProgramCode>PC</ProgramCode>
            ↳ PaxIDUniquely identifies a Passenger within the context of one message.M<PaxID>PAX1</PaxID>
            ↳ PaxRefIDReference to a Passenger ID within this message, associating an infant on lap to this adult Passenger.O<PaxRefID>PAX2</PaxRefID>
            ↳ PTC

Type code applying to the Passenger which typically drives pricing.

Supported values: ADT / CHD / INF / YTH / YCD / STU / SEA


<PTC>ADT</PTC>
            ↳ RemarkMandatory for SEA passenger typeM
               ↳ RemarkText

Additional, supplementary information about the document or service.

Message structure: vessel name/country of registration/TA IATA number

M<RemarkText>EEVRGREEN/THAILAND/1234567</RemarkText>

OrderCreate Error/Validation Checks

 Click here to expand...
PADIS Error CodePADIS Error TextCases
System errors
911Unable to process - system error / Invalid queryInvalid query
486UnknownThe equivalent of -1 error
304System Temporarily unavailableThe system is not available/HOST problem
916EDIFACT version not supportedNot supported NDC service version.
Agent authorization errors
368Not authorizedWrong agent authentication key. Agent is inactive
79AInvalid office identificationOID is missing or incorrect
Query errors
719No fares availableNo fares on the requested PAX types
911Unable to process - system error / Invalid ResponseIDInvalid ResponseID
486Unknown - Can't find search product by idInvalid OfferID
911Unable to process - system error / ResponseID does not match OfferIDResponseID does not match OfferID
486Unknown - Invalid Passenger ReferenceInvalid Passenger Reference
903Unable to process – syntax error / Invalid GenderInvalid Gender
143Invalid or Ineligible Passenger Type CodeInvalid PAX type
914Invalid format/data - data does not match syntax rulesIncorrect date format
73Invalid age for PTCAge validation per PTC failed
150Given Name/Title too LongPAX First/Last name validation fails
149Surname too LongPAX First/Last name validation fails
151Surname MandatorySurname is missing
152Given Name/Title MandatoryGiven name is missing
718Invalid or missing document type
Invalid data in IdentityDocument. Expiry Date is older than last flight departure date
324Number of infants exceeds the maximum allowed per adult passengerIn case INF validation fails. Associated INF is >1
318Contact element (phone and/or address) missing or invalidInvalid or missing tel and email data
376Pricing/ticketing error, text information specifiedError on TST creation step
702Error at End of TransactionPNR commit fails.
348Invalid flight statusFlight HK status is not received
293Unable to Sell Due to Sales Limit being ReachedOffer limit has been expired
900Inactivity Timeout Value ExceededOffer limit has been expired
727Invalid amountInvalid commission amount


© 2021 SOLRING HOLDINGS LIMITED. All rights reserved.