有人能帮我吗?我正在寻找一种方法来在所有行程中同时在 /v2/offers/shop 请求上获得所有类型的 Sabre 机舱类型。下面是我的代码。请用完整的 JSON 回答。任何帮助都是有价值的。另一个问题是我在哪里可以找到 /v2/offers/shop 的 NDC 和非 NDC 的一些好例子?
{
"OTA_AirLowFareSearchRQ": {
"OriginDestinationInformation": [
{
"DepartureDateTime": "2020-06-21T00:00:00",
"DestinationLocation": {
"LocationCode": "YYC"
},
"OriginLocation": {
"LocationCode": "YYZ"
},
"RPH": "0"
},
{
"DepartureDateTime": "2020-06-25T00:00:00",
"DestinationLocation": {
"LocationCode": "YYZ"
},
"OriginLocation": {
"LocationCode": "YYC"
},
"RPH": "1"
}
],
"POS": {
"Source": [
{
"PseudoCityCode": "xxxxxxx",
"RequestorID": {
"CompanyName": {
"Code": "xxxxxxxxxx"
},
"ID": "1",
"Type": "1"
}
}
]
},
"TPA_Extensions": {
"IntelliSellTransaction": {
"RequestType": {
"Name": "xxxxxxx"
}
}
},
"TravelPreferences": {
"TPA_Extensions": {
"DataSources": {
"ATPCO": "Enable",
"LCC": "Enable",
"NDC": "Enable"
},
"NumTrips": {},
"FlexibleFares": {
"FareParameters": [
{
"PassengerType": {
"Code": "ADT"
},
"Cabin": {
"Type": "Y"
}
},
{
"PassengerType": {
"Code": "ADT"
},
"Cabin": {
"Type": "S"
}
},
{
"PassengerType": {
"Code": "ADT"
},
"Cabin": {
"Type": "C"
}
}
]
}
}
},
"TravelerInfoSummary": {
"AirTravelerAvail": [
{
"PassengerTypeQuantity": [
{
"Code": "ADT",
"Quantity": 3
},
{
"Code": "CNN",
"Quantity": 2
},
{
"Code": "INF",
"Quantity": 1
}
]
}
],
"SeatsRequested": [
5
]
},
"Version": "1"
}
}