20
20
For password issues contact 48884 option 2. For all other issues,
please email [email protected]
Pages / / API Backlog
/customer/ - flight/frequentflyer/leg
Created by Achim Drescher, last modified on Jul 03, 2017
Name Description
API Overview
Provides customer details for a frequent flyer who boarded a particular AirSegment.
(At this point there are 2 options how this should be implemented) see UC33 - Loyalty Points Accrual - Design
Input Structure
Input Type: Json
"bookingId":bookingId,
"pnr":Amadeus PNR No,
"createdate":Amadeus Create Date,
"legId": CRE legId,
"passengerid": Amadeus Id of Passenger on PNR
"ffNo": Frequentflyer No,
}
Field Description
system Idenifier of the application calling this should be set by the system calling. It will be used to identify system that call particular versions
of the API.
bookingid Mandatory (Optional if PNR and CreateDate are provided) Booking Travelplan ID. Booking Travelplan ID is provided by the boarding
event. or can be obtained from the system using the PNR and Create Date
createdate Mandatory (Optional if Booking ID given) Create Date of the PNR This makes the PNR unique.
legid Mandatory (Optional if FFNo or Passenger ID given) ID of the Passenger Leg requested (this is provided by the Boarding Events
passengerid Mandatory (Optional if FFNo or Leg ID given) ID of the passenger on the PNR. (Amadeus Natural Key)
ffno Mandatory (Optional if Leg Id or Passenger ID is given) Frequentflyer No of the Passenger of interest.
Output Structure
Output Type: Json
Passenger List Output Structure (Response Payload). Response HTTP Code 200
Returns a single leg where leg id is given or all legs for the passenger on the booking.
{
"frequentFlyer": {
"ssrcode": xx,
"ffCarrier": xx,
"ffNo": xx,
"paxLastName": xx,
"paxFirstName": xx
},
associatedAirSegment: {
"mrktgAirlineCode": xx,
"mrkgtAirlineRecordLoc": xx,
"departurePort": xx,
"departureTerm": xx,
"departureDateLoc": xx,
"departureDateUTC": xx,
"departureTimeLoc": xx,
"departureTimeUTC": xx,
"arrivalTerm": xx,
"operatingAirlineCode": xx,
"arrivalPort": xx,
"arrivalDateLoc": xx,
"arrivalDateUTC": xx,
"arrivalTimeLoc": xx,
"arrivalTimeUTC": xx,
"dateChgInd": xx,
"marketingFlightNo": xx,
"marketingFlightSfx": xx,
"cabinClass": xx,
"boardStatusCode": xx,
"boardStatus": xx,
"accCancelReasonCode": xx,
"accCancelReason": xx,
"acctStatusCode": xx,
"cabinClass (what is the fdifference to above": xx,
"onLoadStatus": xx,
"operatingCarrier": xx
},
"fareInformation": {
"farePriceDesignator": xx,
"primaryFarePriceCode": xx,
"fareBasisCode": xx,
"fareQualitfier": xx,
"fareAmount": xx,
"fareCurrencyCode": xx,
"fareTypeCode": xx,
"paymentIdentification": xx,
"redemptionRequest": xx,
"redemptionFFNo": xx,
"redemptionTariffClassId": xx,
"redemptionSequenceNo": xx,
"redemptionCertNo": xx,
"redemptionTariffClass": xx,
"pnrSpecialKeyword": xx,
"loyalityProgCarrier": xx,
"lopyaltyProgFFNo": xx,
"redemptionFFNo": xx,
"pnrElementSK": xx,
"pnrElementName":xx }
}
Configuration
Overview
Configuration options in the server plugin manifest.json that drive how system behaves. The configuration items allow operators to change thresholds and
tune the result sets that are returned to the consumers.
Fare Basis
Last Name Name Passenger Individual Traveller last name Last name
element Name information
element
(NM)
First Name Name Passenger Individual Traveller first name Traveler first name
& Title element Name information and/or title
element
(NM)
Travelled Product Product Boarding Boarding Status Resolve from reference tables
class Delivery Delivery status Description
Information Information
at Leg
Level
Product Product Onload Onload status Not used for PRL/PFS handback
Delivery Delivery status OLD : OK
Information Information NOL : NOK
at Leg OLR : OK Regrade
Level RGD : Regrade
OFL : Offload
NA : Not Aplicable
TMU0180_TP_PMT_DETL Form of Ticketing Fare Form of Fare subject qualifier Text subject qualifier
- Form of payment Payment element Elements Payment 3 for literal text
element
(ingestion change (FP)
required)
Ticketing Fare Form of Fare free text Passenger type (PAX, INF)
element Elements Payment Original form of payment
element (FPO/free text)Free flow text
(FP) (excluding O/)[New] form of
payment free text (US market
FP*free text)Free flow text
(excluding *)[New] form of
payment structuredForm(s) of
payment (CASH, CHECK, CC,
MS)Credit card informationCredit
card code Credit card account
number Extended credit payment
request Credit card expiry date
Credit card approval code
Customer account number
Currency Amount
Ticketing Fare New Form Form of payment Generic type of the Mean of
element Elements of Payment identification Payment used :
element CC credit Card
(FP)
References
UC33 - Loyalty Points Accrual
UC33 - Loyalty Points Accrual - Design