IATA_OrderCreateRQ
Introduction
The IATA_OrderCreateRQ is used to build a complete Order from the Offers of the previous shopping and Offer steps.
The response to this message is always an IATA_OrderViewRS.
General Usage
The IATA_OrderCreateRQ contains all necessary details to create an Order. This includes:
all selected Offers from shopping and pricing steps
full passenger data
full contact information
payment details
If the booking was created successfully, the response will contain the element “OrderID”, that will be used for all consecutive operations in this Order.
Sample
IATA_OrderCreateRQ
Show/Hide Request
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <IATA_OrderCreateRQ xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_OrderCreateRQ"> <Party> <Sender> <EnabledSystem> <SystemID>12345</SystemID> </EnabledSystem> </Sender> </Party> <Request> <CreateOrder> <SelectedOffer> <OfferRefID>OF5b8ce111-7899-11ea-abfe-0976ee4839c9</OfferRefID> <OwnerCode>NA</OwnerCode> <SelectedOfferItem> <OfferItemRefID>OFI5b8ce111-7899-11ea-abfe-0976ee4839c91</OfferItemRefID> <PaxRefID>PX1</PaxRefID> </SelectedOfferItem> <ShoppingResponseRefID>NA</ShoppingResponseRefID> </SelectedOffer> </CreateOrder> <DataLists> <ContactInfoList> <ContactInfo> <ContactInfoID>C1</ContactInfoID> <ContactPurposeText>Primary</ContactPurposeText> <EmailAddress> <EmailAddressText>email@domain.com</EmailAddressText> </EmailAddress> <Individual> <GivenName>JOHN</GivenName> <IndividualID>IN1</IndividualID> <MiddleName>ALEX</MiddleName> <Surname>DOE</Surname> <TitleName>MR</TitleName> </Individual> <Phone> <CountryDialingCode>+49</CountryDialingCode> <PhoneNumber>11111111</PhoneNumber> </Phone> <PostalAddress> <CityName>CITY</CityName> <CountryCode>DE</CountryCode> <PostalCode>12345</PostalCode> <StreetText>STREET 1</StreetText> </PostalAddress> </ContactInfo> </ContactInfoList> <PaxList> <Pax> <Individual> <GenderCode>M</GenderCode> <GivenName>TEST</GivenName> <IndividualID>IN1</IndividualID> <Surname>TESTER</Surname> <TitleName>MR</TitleName> </Individual> <PaxID>PX1</PaxID> <PTC>ADT</PTC> </Pax> </PaxList> </DataLists> <PaymentFunctions> <PaymentProcessingDetails> <Amount CurCode="EUR">179.56</Amount> <Payer> <Individual> <GivenName>JOHN</GivenName> <IndividualID>IN1</IndividualID> <MiddleName>ALEX</MiddleName> <Surname>DOE</Surname> <TitleName>MR</TitleName> </Individual> </Payer> <PaymentMethod> <PaymentCard> <CardHolderName>tester test</CardHolderName> <CardNumber>1111222233334444</CardNumber> <CardTypeText>CA</CardTypeText> <ExpirationDate>0199</ExpirationDate> </PaymentCard> </PaymentMethod> <TypeCode>CC</TypeCode> </PaymentProcessingDetails> </PaymentFunctions> </Request> </IATA_OrderCreateRQ>
PaymentType: Cash
Show/Hide Request
<PaymentFunctions> <PaymentProcessingDetails> <Amount CurCode="EUR">367.98</Amount> <Payer> <Individual> <GivenName>JOHN</GivenName> <IndividualID>IN2</IndividualID> <MiddleName>ALEX</MiddleName> <Surname>DOE</Surname> <TitleName>MR</TitleName> </Individual> </Payer> <PaymentMethod> <Cash/> </PaymentMethod> <TypeCode>CA</TypeCode> </PaymentProcessingDetails> </PaymentFunctions>
PaymentType: CreditCard
Show/Hide Request
<PaymentFunctions> <PaymentProcessingDetails> <Amount CurCode="EUR">367.98</Amount> <Payer> <Individual> <GivenName>JOHN</GivenName> <IndividualID>IN2</IndividualID> <MiddleName>ALEX</MiddleName> <Surname>DOE</Surname> <TitleName>MR</TitleName> </Individual> </Payer> <PaymentMethod> <PaymentCard> <CardHolderName>TESTER TEST</CardHolderName> <CardNumber>1111222233334444</CardNumber> <CardSecurityCode>123</CardSecurityCode> <CardTypeText>AB</CardTypeText> <ExpirationDate>0199</ExpirationDate> </PaymentCard> </PaymentMethod> <TypeCode>CC</TypeCode> </PaymentProcessingDetails> </PaymentFunctions>
PaymentType: SEPA
Show/Hide Request
<PaymentFunctions> <PaymentProcessingDetails> <Amount CurCode="EUR">367.98</Amount> <Payer> <Individual> <GivenName>TESTER</GivenName> <IndividualID>IN4</IndividualID> <Surname>TEST</Surname> </Individual> </Payer> <PaymentMethod> <BankTransfer> <BankAccountID>DE12123456789123456789</BankAccountID> <BankID>ABCDEFGH</BankID> <OwnerName>TEST TESTER</OwnerName> </BankTransfer> </PaymentMethod> <TypeCode>BA</TypeCode> </PaymentProcessingDetails> </PaymentFunctions>