rest - Sabre RevalidateItinerary:什么是 ClassOfService 代码?
问题描述
我在我的工作流程中使用了 RevalidateItinerary rest api。我不清楚 OriginDestinationInformation > TPA_Extension > Flight 中的 ClassOfService 代码是什么。ClassOfService 是指 BFM 响应中的 bookingCode 或 CabinCode 吗?
这是 DevStudio 中示例请求的片段:
"OriginDestinationInformation" : [ {
"RPH" : "1",
"DepartureDateTime" : "2017-06-16T11:27:00",
"OriginLocation" : {
"LocationCode" : "ATL"
},
"DestinationLocation" : {
"LocationCode" : "BOS"
},
"TPA_Extensions" : {
"Flight" : [ {
"ClassOfService" : "Y", //where do I find this code?
"Number" : 1200,
"DepartureDateTime" : "2017-11-16T11:27:00",
"ArrivalDateTime" : "2017-11-16T13:58:00",
"Type" : "A",
"OriginLocation" : {
"LocationCode" : "ATL"
},
"DestinationLocation" : {
"LocationCode" : "BOS"
},
"Airline" : {
"Operating" : "K0",
"Marketing" : "K0"
},
"BookingDateTime" : "2017-09-01T10:03:00"
} ],
"SegmentType" : {
"Code" : "O"
}
}
},
...
谢谢
解决方案
bookingCode 与 ClassOfService 相同
推荐阅读
- javascript - 网页打开时Javascript第一次不起作用?
- wordpress - Wordpress 简码输出
- r - Roxygen 警告“无法打开连接”“权限被拒绝”
- reactjs - 测试反应组件状态 onChange
- c# - 编译时与运行时的 .NET 程序集绑定
- python - Pandas - 根据 groupby 中的其他列设置列的最佳方法
- excel - 如何使用数据透视表中的字段填充 Excel 用户表单组合框?
- ios - 如何允许用户通过 Firebase 在存储的配置文件中输入他们的信息,而无需让他们登录/注册?
- ios - AppDelegate applicationDidEnterBackground 在模拟器上工作但不在设备上
- bash - 试图找到 shell 命令以从文件中删除 2 个文件之间的公共行