Handling LoyaltyProgram

Workflow description

The usage of LoyaltyPrograms is not limited to one workflow, the data can be transmitted during creation of a booking and all post-booking transactions.

XML Elements

Here is a sample element of a passenger, containing LoyaltyProgram:

Show/Hide Response

<Pax>
   <Individual>
      <GenderCode>M</GenderCode>
      <GivenName>TEST</GivenName>
      <IndividualID>IN1</IndividualID>
      <Surname>TESTER</Surname>
      <TitleName>MR</TitleName>
   </Individual>
   <LoyaltyProgramAccount>
      <AccountNumber>1234598760</AccountNumber>
      <LoyaltyProgram>
          <ProgramName>Name</ProgramName>
      </LoyaltyProgram>
   </LoyaltyProgramAccount>
   <PaxID>PX1</PaxID>
   <PTC>ADT</PTC>
</Pax>

Please note, that in the LoyaltyProgramAccount-Element, the element “LoyaltyProgram” is mandatory in the NDC schemas. However, the element could also be left empty (e.g. <LoyaltyProgram/>)