Ability to Handle Multiple Types of Contacts
  • Updated on 18 May 2020
  • 1 minute to read
  • Contributors
  • Print
  • Dark
    Light

Ability to Handle Multiple Types of Contacts

  • Print
  • Dark
    Light

OrderHistory Response Elements


This section documents the key elements for the OrderHistory response and how to correctly use these to achieve the required functionality.

01. Viewing an Order History with multiple addresses at destination

The Airline (ORA) may send an OrderHistory response to the Seller with multiple addresses at destination.

<DataLists>
	<ContactInfoList>
		<ContactInfo>
			<ContactInfoID>CT01</ContactInfoID>
			<ContactPurposeText>DES</ContactPurposeText>
			<PaxSegmentRefID>SEG001</PaxSegmentRefID>
			<Phone>
				<ContactTypeText>PER</ContactTypeText>
				<PhoneNumber>0044756496451</PhoneNumber>
			</Phone>
			<PostalAddress>
				<CityName>London</CityName>
				<ContactTypeText>PER</ContactTypeText>
				<CountryCode>GB</CountryCode>
				<PostalCode>AA1 2BB</PostalCode>
				<StreetText>1 Main Street</StreetText>
			</PostalAddress>
		</ContactInfo>
		<ContactInfo>
			<ContactInfoID>CT02</ContactInfoID>
			<ContactPurposeText>DES</ContactPurposeText>
			<PaxSegmentRefID>SEG002</PaxSegmentRefID>
			<Phone>
				<ContactTypeText>PER</ContactTypeText>
				<PhoneNumber>001156496451</PhoneNumber>
			</Phone>
			<PostalAddress>
				<CityName>New York</CityName>
				<ContactTypeText>PER</ContactTypeText>
				<CountryCode>US</CountryCode>
				<PostalCode>12345</PostalCode>
				<StreetText>2 Broad Street</StreetText>
			</PostalAddress>
		</ContactInfo>
	</ContactInfoList>
	<PaxList>
		<Pax>
			<ContactInfoRefID>CT01</ContactInfoRefID>
			<ContactInfoRefID>CT02</ContactInfoRefID>
			<PaxID>PAX01</PaxID>
		</Pax>
	</PaxList>
	<PaxSegmentList>
		<PaxSegment>
			<Arrival>LHR</Arrival>
			<Dep>GVA</Dep>
			<MarketingCarrierInfo>
				<CarrierDesigCode>XB</CarrierDesigCode>
	<MarketingCarrierFlightNumberText>123</MarketingCarrierFlightNumberText>
			</MarketingCarrierInfo>
			<PaxSegmentID>SEG001</PaxSegmentID>
		</PaxSegment>
		<PaxSegment>
			<Arrival>JFK</Arrival>
			<Dep>LHR</Dep>
			<MarketingCarrierInfo>
				<CarrierDesigCode>XB</CarrierDesigCode>
	<MarketingCarrierFlightNumberText>456</MarketingCarrierFlightNumberText>
			</MarketingCarrierInfo>
			<PaxSegmentID>SEG002</PaxSegmentID>
		</PaxSegment>
	</PaxSegmentList>
</DataLists>

02. Viewing an Order History with emergency contact details

The Airline (ORA) may send an OrderHistory response to the Seller with emergency contact details.

<DataLists>
	<ContactInfoList>
		<ContactInfo>
			<ContactInfoID>CT001</ContactInfoID>
			<ContactPurposeText>EMG</ContactPurposeText>
			<PaxSegmentRefID>SEG001</PaxSegmentRefID>
			<PostalAddress>
				<CityName>London</CityName>
				<ContactTypeText>PRO</ContactTypeText>
				<PostalCode>AA12BB</PostalCode>
				<StreetText>1 Main Street</StreetText>
			</PostalAddress>
		</ContactInfo>
		<ContactInfo>
			<ContactInfoID>CT002</ContactInfoID>
			<ContactPurposeText>EMG</ContactPurposeText>
			<PaxSegmentRefID>SEG001</PaxSegmentRefID>
			<Phone>
				<ContactTypeText>PER</ContactTypeText>
				<PhoneNumber>0044123497854</PhoneNumber>
			</Phone>
		</ContactInfo>
	</ContactInfoList>
	<PaxList>
		<Pax>
			<ContactInfoRefID>CT001</ContactInfoRefID>
			<ContactInfoRefID>CT002</ContactInfoRefID>
			<PaxID>PAX001</PaxID>
		</Pax>
	</PaxList>
	<PaxSegmentList>
		<PaxSegment>
			<Arrival>LHR</Arrival>
			<Dep>GVA</Dep>
			<MarketingCarrierInfo>
				<CarrierDesigCode>XB</CarrierDesigCode>
	<MarketingCarrierFlightNumberText>123</MarketingCarrierFlightNumberText>
			</MarketingCarrierInfo>
			<PaxSegmentID>SEG001</PaxSegmentID>
		</PaxSegment>
		<PaxSegment>
			<Arrival>JFK</Arrival>
			<Dep>LHR</Dep>
			<MarketingCarrierInfo>
				<CarrierDesigCode>XB</CarrierDesigCode>
	<MarketingCarrierFlightNumberText>456</MarketingCarrierFlightNumberText>
			</MarketingCarrierInfo>
			<PaxSegmentID>SEG002</PaxSegmentID>
		</PaxSegment>
	</PaxSegmentList>
</DataLists>

03. Viewing an Order History with contact details for an unaccompanied minor

The Airline (ORA) may send an OrderHistory response to the Seller with contact details for an unaccompanied minor.

<DataLists>
	<ContactInfoList>
		<ContactInfo>
			<ContactInfoID>CT01</ContactInfoID>
			<ContactPurposeText>EDP</ContactPurposeText>
			<Individual>
				<GivenName>Mother</GivenName>
				<IndividualID>IND01</IndividualID>
				<Surname>NAMEONE</Surname>
			</Individual>
			<PaxSegmentRefID>SEG001</PaxSegmentRefID>
			<Phone>
				<ContactTypeText>PER</ContactTypeText>
				<PhoneNumber>006111111</PhoneNumber>
			</Phone>
		</ContactInfo>
		<ContactInfo>
			<ContactInfoID>CT02</ContactInfoID>
			<ContactPurposeText>EAR</ContactPurposeText>
			<Individual>
				<GivenName>Father</GivenName>
				<IndividualID>IND02</IndividualID>
				<Surname>NAMEONE</Surname>
			</Individual>
			<PaxSegmentRefID>SEG001</PaxSegmentRefID>
			<Phone>
				<ContactTypeText>PER</ContactTypeText>
				<PhoneNumber>0044222222</PhoneNumber>
			</Phone>
		</ContactInfo>
		<ContactInfo>
			<ContactInfoID>CT03</ContactInfoID>
			<ContactPurposeText>EDP</ContactPurposeText>
			<Individual>
				<GivenName>GrandFather</GivenName>
				<IndividualID>IND03</IndividualID>
				<Surname>NAMEONE</Surname>
			</Individual>
			<PaxSegmentRefID>SEG002</PaxSegmentRefID>
			<Phone>
				<ContactTypeText>PER</ContactTypeText>
				<PhoneNumber>00443333333</PhoneNumber>
			</Phone>
		</ContactInfo>
		<ContactInfo>
			<ContactInfoID>CT04</ContactInfoID>
			<ContactPurposeText>EAR</ContactPurposeText>
			<Individual>
				<GivenName>Aunt</GivenName>
				<IndividualID>IND02</IndividualID>
				<Surname>NAMEONE</Surname>
			</Individual>
			<PaxSegmentRefID>SEG002</PaxSegmentRefID>
			<Phone>
				<ContactTypeText>PER</ContactTypeText>
				<PhoneNumber>00144444444</PhoneNumber>
			</Phone>
		</ContactInfo>
	</ContactInfoList>
	<PaxList>
		<Pax>
			<ContactInfoRefID>CT001</ContactInfoRefID>
			<ContactInfoRefID>CT002</ContactInfoRefID>
			<ContactInfoRefID>CT003</ContactInfoRefID>
			<ContactInfoRefID>CT004</ContactInfoRefID>
			<PaxID>PAX001</PaxID>
		</Pax>
	</PaxList>
</DataLists>