I'm building a web app and was integrating Sabre with it. I was following the "Low Fare Search and Book" workflow and I'm done shopping flights using Bargain Finder Max so I wanted to book the flights selected through Create Passenger Name Record. I'm stuck in sending Create PNR Request. I was consuming Create Passenger Name Record with the following payloads:
{
"CreatePassengerNameRecordRQ": {
"version": "2.1.0",
"targetCity": "G1OJ",
"haltOnAirPriceError": true,
"TravelItineraryAddInfo": {
"AgencyInfo": {
"Address": {
"AddressLine": "UNIT 707 PRINCE GREGORY CONDO 12TH AVENUE, CUBAO",
"CityName": "QUEZON CITY",
"CountryCode": "PH",
"PostalCode": "1109",
"StreetNmbr": "#105"
},
"Ticketing": {
"TicketType": "7TAW"
}
},
"CustomerInfo": {
"ContactNumbers": {
"ContactNumber": [
{
"NameNumber": "1.1",
"Phone": "639053314785",
"PhoneUseType": "H"
},
{
"NameNumber": "2.1",
"Phone": "639053314785",
"PhoneUseType": "H"
}
]
},
"PersonName": [
{
"NameNumber": "1.1",
"PassengerType": "ADT",
"GivenName": "ERWIN",
"Surname": "PLAZA"
},
{
"NameNumber": "2.1",
"PassengerType": "ADT",
"GivenName": "AMABELLE",
"Surname": "PLAZA"
}
]
}
},
"AirBook": {
"HaltOnStatus": [
{
"Code": "HL"
},
{
"Code": "KK"
},
{
"Code": "LL"
},
{
"Code": "NN"
},
{
"Code": "NO"
},
{
"Code": "UC"
},
{
"Code": "US"
}
],
"OriginDestinationInformation": {
"FlightSegment": [
{
"ArrivalDateTime": "2019-01-28T11:40:00",
"DepartureDateTime": "2019-01-28T10:35:00",
"FlightNumber": "1853",
"NumberInParty": "2",
"ResBookDesigCode": "T",
"Status": "NN",
"InstantPurchase": true,
"DestinationLocation": {
"LocationCode": "CEB"
},
"MarketingAirline": {
"Code": "PR",
"FlightNumber": "1853"
},
"MarriageGrp": "O",
"OriginLocation": {
"LocationCode": "MNL"
}
},
{
"ArrivalDateTime": "2019-01-30T23:05:00",
"DepartureDateTime": "2019-01-30T21:50:00",
"FlightNumber": "2880",
"NumberInParty": "2",
"ResBookDesigCode": "T",
"Status": "NN",
"InstantPurchase": true,
"DestinationLocation": {
"LocationCode": "MNL"
},
"MarketingAirline": {
"Code": "PR",
"FlightNumber": "2880"
},
"MarriageGrp": "O",
"OriginLocation": {
"LocationCode": "CEB"
}
}
]
}
},
"PostProcessing": {
"RedisplayReservation": true,
"ARUNK": "please do the arunk thing",
"EndTransaction": {
"Source": {
"ReceivedFrom": "MOSCONI"
}
},
"PostBookingHKValidation": {
"waitInterval": 100,
"numAttempts": 6
},
"WaitForAirlineRecLoc": {
"waitInterval": 100,
"numAttempts": 6
}
}
}
}
and I believe I provided the 5 mandatory elements in creating a PNR. P Phone Number R Received From I Itinerary N Name of Traveler T Ticketing Time Limit
However, I still get this Error
"Error": [
{
"type": "Application",
"timeStamp": "2019-01-24T02:05:47.767-06:00",
"SystemSpecificResults": [
{
"Message": [
{
"code": "ERR.SP.PROVIDER_ERROR",
"content": "Unable to perform air booking step"
}
]
}
]
What am I missing on my payload?