Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4089

No availability - revalidate itinenary in Sabre

$
0
0

I'm using sabre BFM REST API to get flight details and then trying to revalidate it using this request code:

{"OTA_AirLowFareSearchRQ": {"Version": "4.1.0","ResponseType": "OTA","POS": {"Source": [            {"PseudoCityCode": "xxxx","RequestorID": {"Type": "1","ID": "1","CompanyName": {"Code": "TN","content": "TN"                    }                }            }        ]    },"AvailableFlightsOnly": true,"OriginDestinationInformation": [        {"RPH": "1","DepartureDateTime": "2025-08-01T06:30:00","OriginLocation": {"LocationCode": "YYZ"            },"DestinationLocation": {"LocationCode": "PEK"            },"TPA_Extensions": {"SegmentType": { "Code": "X"                },"Flight": [                    {"Number": 181,"DepartureDateTime": "2025-08-01T06:30:00","ArrivalDateTime": "2025-08-01T08:21:00","Type": "A","ClassOfService": "L","OriginLocation": {"LocationCode": "YYZ"                        },"DestinationLocation": {"LocationCode": "YVR"                        },"Airline": {"Operating": "AC","Marketing": "AC"                        }                    },                    {"Number": 29,"DepartureDateTime": "2025-08-01T12:20:00","ArrivalDateTime": "2025-08-02T16:10:00","Type": "A","ClassOfService": "L","OriginLocation": {"LocationCode": "YVR"                        },"DestinationLocation": {"LocationCode": "PEK"                        },"Airline": {"Operating": "AC","Marketing": "AC"                        }                    }                ]            }        },        {"RPH": "2","DepartureDateTime": "2025-08-15T18:05:00","OriginLocation": {"LocationCode": "PEK"            },"DestinationLocation": {"LocationCode": "YYZ"            },"TPA_Extensions": {"SegmentType": {"Code": "X"                },"Flight": [                    {"Number": 30,"DepartureDateTime": "2025-08-15T18:05:00","ArrivalDateTime": "2025-08-15T14:10:00","Type": "A","ClassOfService": "L","OriginLocation": {"LocationCode": "PEK"                        },"DestinationLocation": {"LocationCode": "YVR"                        },"Airline": {"Operating": "AC","Marketing": "AC"                        }                    },                    {"Number": 186,"DepartureDateTime": "2025-08-15T16:30:00","ArrivalDateTime": "2025-08-16T00:05:00","Type": "A","ClassOfService": "L","OriginLocation": {"LocationCode": "YVR"                        },"DestinationLocation": {"LocationCode": "YYZ"                        },"Airline": {"Operating": "AC","Marketing": "AC"                        }                    }                ]            }        }    ],"TravelPreferences": {"Baggage": {"RequestType": "A","Description": true        },"TPA_Extensions": {"DataSources": {"NDC": "Disable","ATPCO": "Enable","LCC": "Disable"    },"PreferNDCSourceOnTie": {"Value": true    }        }    },"TravelerInfoSummary": {"SeatsRequested": [            2        ],"AirTravelerAvail": [            {"PassengerTypeQuantity": [                    {"Quantity": 1,"Code": "ADT","TPA_Extensions": {"VoluntaryChanges": {"Match": "Info"                            }                        }                    },                    {"Quantity": 1,"Code": "C07","TPA_Extensions": {"VoluntaryChanges": {"Match": "Info"                            }                        }                    }                ]            }        ],"PriceRequestInformation": {"CurrencyCode": "CAD","TPA_Extensions": {"BrandedFareIndicators": {"MultipleBrandedFares": true,"ItinParityBrandlessLeg": false                },"PrivateFare": {"Ind": true                        },"Priority": {"Price": {"Priority": 2                    },"DirectFlights": {"Priority": 1                    },"Time": {"Priority": 3                    },"Vendor": {"Priority": 4                    }                }            }        }    },"TPA_Extensions": {"IntelliSellTransaction": {"RequestType": {"Name": "50ITINS"            }        }    }  }}

I get back this response with "no availability" error. It's happening for every origin and destination:

{"groupedItineraryResponse": {"version": "6.7.2","messages": [            {"severity": "Info","type": "SERVER","code": "GCB15-ISELL-TN-00-2025-01-00-6514","text": "27131"            },              {"severity": "Info","type": "WORKERTHREAD","code": "TRANSACTIONID","text": "6961607691376984146"            },            {"severity": "Info","type": "DRE","code": "RULEID","text": "24113"            },            {"severity": "Info","type": "DEFAULT","code": "RULEID","text": "24111"            },            {"severity": "Error","type": "ERR","code": "NAV","text":"No Availability"            }        ],"statistics": { "itineraryCount": 0 }    }}

Viewing all articles
Browse latest Browse all 4089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>