[TOC]
# 异步:不加`version` 字段的返回结果
```
{
"code": 1,
"msg": {
"ErrorCode": "0", //接口错误代码,0 表示调用成功
"ErrorMsg": [], //错误描述信息
"SearchInfo": { //>描述:搜索返回结果信息(1 级节点)
"TotalTime": "17.92", //描述:搜索返回结果信息(1 级节点)
"TotalPlatforms": "1", //查询的总平台数
"SuccessPlatforms": "0", //成功返回的平台数
"PolicyCount": "0" //查询出的政策数
},
"Platforms": { //描述:平台名字与简写对应表(多个平台就会出现多组 Platform) (1 级节点)
"Platform": { //描述:如果多个平台就会出现多组 Platform(2 级节点)
"Code": "YO", //平台简称
"Text": "易购推荐" //平台名称
}
},
"Policys": { //描述:返回政策信息包括若干的<PolicyDataReply>节点(1 级节点)
"PolicyDataReply": { //描述:各家平台政策(2 级节点)
"IsRH": "false", //暂没用到 忽略该字段
"IsGH": "false", //暂没用到 忽略该字段
"IsCP": "false", //暂没用到 忽略该字段
"IsVH": "false", //暂没用到 忽略该字段
"Flag": "false", //是否成功(注意:该节点是3级节点)
"PolicyDataList": [], //描述:政策列表(多条政策显示多个 PolicyData) (3 级节点)★★★★★★★★这里有重要信息,这里没有返回
"ErrMsg": "没有余票", //错误信息
"PlatIntCode": "076", //平台三字码
"PlatformCode": "TB", //平台简称
"PlatformMappingCode": "TB", //这里官方手册没有说明>>>>>>>>>>>>>>
"PlatformName": "易购优选T", //平台名称
"PNR": "J4NKKV", //Pnr,如果客户比价传入航班信息,那么该字段返回模拟 PNR,并非真实订座的 Pnr
"WebUrl": "http://www.rtpnr.com", //平台地址
"CreateOrderMode": "DEFAULT", //扩展字段 忽略该字段
"Price": "0", //票面价
"IsPreferred": "false", //优选客户 忽略该字段
"PreComsion": "0", //扩展字段 忽略该字段
"PreSetComsion": "0", //扩展字段 忽略该字段
"IsLoad": "false", //扩展字段 忽略该字段
"PlatformType": "Y", //平台类型,注:下单时需要,自有:P,快采:Y/S/A★★★★★★★★
"IsVip": "false", //官方没有给说明>>>>>>>>>>>
"AccountLevel": "10", //账号等级,注:下单时需要★★★★★★★★
"IsSupportNoAudtTkt": "False",//官方没有给说明>>>>>>>>>>>
"IsShareFlight": "0",//官方没有给说明>>>>>>>>>>>
"PolicySort": "0",//官方没有给说明>>>>>>>>>>>
"PolicySortId": "0",//官方没有给说明>>>>>>>>>>>
"NewSortId": "0",//官方没有给说明>>>>>>>>>>>
"ListReturnCommsion": [],//官方没有给说明>>>>>>>>>>>
"SearchTime": "172", //查找本平台政策所用时间
"IsAddPolicyTable": "false",//官方没有给说明>>>>>>>>>>>
"NotSupply": "A",//官方没有给说明>>>>>>>>>>>
"IsBidPrice": "false"//官方没有给说明>>>>>>>>>>>
}
},
"RequestID": "OpenAPI112907507" //官方没有给说明>>>>>>>>>>>
},
"data": "",
"count": 1
}
```
# 加version的返回结果
```
{
"code": 1,
"msg": {
"ErrorCode": "0",
"ErrorMsg": [],
"SearchInfo": {
"TotalTime": "0.044",
"TotalPlatforms": "1",
"SuccessPlatforms": "0",
"PolicyCount": "0"
},
"Platforms": {
"Platform": {
"Code": "YO",
"Text": "易购推荐"
}
},
"Policys": [],
"RequestID": "OpenAPI112912068"
},
"data": "",
"count": 1
}
```
# 异步
```
{
"code": 1,
"msg": "政策查询 成功!",
"data": {
"ErrorCode": "0",
"ErrorMsg": [],
"SearchInfo": {
"TotalTime": "1.983",
"TotalPlatforms": "1",
"SuccessPlatforms": "1",
"PolicyCount": "1"
},
"Platforms": {
"Platform": {
"Code": "YO",
"Text": "易购推荐"
}
},
"Policys": {
"PolicyDataReply": {
"IsRH": "false",
"IsGH": "false",
"IsCP": "false",
"IsVH": "false",
"Flag": "true",
"PolicyDataList": {
"PolicyData": {
"PlatCode": "TB",
"commision": "0",
"orgCommision": "0",
"addcommision": "0",
"agencyEfficiency": "5分钟 ",
"workTime": "00:00-23:59",
"PolicyID": "0^Y",
"NeedSwitchPNR": "true",
"PolicyStatus": "Y",
"Note": "不支持废票,退票按航司客规执行。票面与公布运价可能不符。 不支持废票,退票按航司客规执行。退票手续费:早于起飞10%,晚于起飞15%;改期手续费:早于起飞0%,晚于起飞10%;可签转;可升舱;,特别提醒:退改按1110基数计算!",
"IsUnion": "0",
"OutWorkTime": [],
"RefundWorkTime": "09:00--18:00",
"WastWorkTime": "18:00止",
"ShouldPay": "1110",
"PolicyType": "HS",
"IsDemo": "Y",
"IsSpecial": "false",
"Gain": "0",
"RetMoney": "0",
"Price": "1110",
"FuelTax": "10",
"AirPortTax": "50",
"TaxAmmount": "60",
"WeekendRefundTime": [],
"ProviderOffice": [],
"SupplierPayType": [],
"IsSepcealPolicy": "false",
"AduRewardTicketFare": "0",
"AduTaxFare": "0",
"AduBaseDiscount": "0",
"AduRewardDiscount": "0",
"AduPlateServiceFare": "0",
"ChdPlateServiceFare": "0",
"AduEtdzFare": "0",
"AduRewardMoney": "0",
"ChdTaxFare": "0",
"ChdBaseDiscount": "0",
"ChdRewardDiscount": "0",
"ChdRewardTicketFare": "0",
"ChdEtdzFare": "0",
"ChdRewardMoney": "0",
"SettlePrice": "0",
"AduNetPrice": "0",
"ChdNetPrice": "0",
"AccountLeve": "10",
"DepartureTime": "13:00",
"DepartureDate": "2018-06-22",
"ClassCode": "Y",
"Carrier": "CA",
"ArriveCity": "INC",
"DepartureCity": "PEK",
"PolicyFilerType": "0",
"TktSpeedType": "0",
"TempType": "2",
"SuportLineType": [],
"FlightEncrptStr": "HS,agent:0",
"FareReference": "HS",
"ServicCharge": "0",
"AgentComm1": "0",
"AgentComm2": "0",
"AgentMoney1": "0",
"AgentMoney2": "0"
}
},
"ErrMsg": [],
"PlatIntCode": "076",
"PlatformCode": "TB",
"PlatformMappingCode": "TB",
"PlatformName": "易购优选T",
"PNR": "H1FAXS",
"WebUrl": "http://www.rtpnr.com",
"CreateOrderMode": "DEFAULT",
"Price": "0",
"IsPreferred": "false",
"PreComsion": "0",
"PreSetComsion": "0",
"IsLoad": "false",
"PlatformType": "Y",
"IsVip": "false",
"AccountLevel": "10",
"IsSupportNoAudtTkt": "False",
"IsShareFlight": "0",
"PolicySort": "0",
"PolicySortId": "0",
"NewSortId": "0",
"ListReturnCommsion": [],
"IsPrivateAccount": "2",
"SearchTime": "264",
"IsAddPolicyTable": "true",
"NotSupply": "A",
"IsBidPrice": "false"
}
},
"RequestID": "OpenAPI113714010"
},
"count": 6
}
```
# 同步
```
{
"code": 1,
"msg": "政策查询 成功!",
"data": {
"ErrorCode": "0",
"ErrorMsg": [],
"SearchInfo": {
"TotalTime": "0.041",
"TotalPlatforms": "1",
"SuccessPlatforms": "1",
"PolicyCount": "1"
},
"Policys": {
"Policy": {
"Flag": "Y",
"PolicyId": "0^Y",
"PlatCode": "076",
"PlatCodeForShort": "TB",
"PlatformMappingCode": "TB",
"PlatformName": "易购优选T",
"IsVip": "10",
"AccountLevel": "10",
"PlatformType": "Y",
"TktOffice": [],
"ProviderOffice": [],
"SwitchPnr": "Y",
"IsSpecial": "N",
"FltStart": [],
"FltEnd": [],
"PreTkt": [],
"TktStart": [],
"TktEnd": [],
"Fare": "1110",
"Rebate": [],
"TaxAmount": "60",
"CommAmount": [],
"PaymentFee": [],
"CommRate": "0.00",
"CommMoney": "0",
"RetMoney": "0",
"FareBase": [],
"TktType": "HS",
"PolicyType": "HS",
"AutoTicket": [],
"Receipt": [],
"PaymentType": [],
"Remark": [],
"RefundRule": [],
"Efficiency": "5分钟 ",
"TktWorktime": "00:00-23:59",
"RfdWorktime": "09:00--18:00",
"RefundWorkTime": "09:00--18:00",
"WastWorkTime": "18:00止",
"WeekendOutWorkTime": [],
"WeekendRefundTime": [],
"Price": "1110",
"AirPortTax": "50",
"FuelTax": "10",
"SettlePrice": "0",
"ShouldPay": "1110",
"AduTaxFare": "0",
"AduRewardTicketFare": "0",
"AduRewardDiscount": "0",
"AduEtdzFare": "0",
"AduRewardMoney": "0",
"ChdBaseDiscount": "0",
"ChdRewardDiscount": "0",
"ChdTaxFare": "0",
"ChdRewardTicketFare": "0",
"ChdEtdzFare": "0",
"ChdRewardMoney": "0",
"PayType": [],
"ServicCharge": "0",
"AirProductType": [],
"CarrierCustomerNo": [],
"RefundRules": [],
"EndorsementRule": [],
"TGRemark": [],
"AgentComm1": "0",
"AgentComm2": "0",
"AgentMoney1": "0",
"AgentMoney2": "0",
"AgentInfo": []
}
},
"RequestID": "OpenAPI113713931"
},
"count": 5
}
```
- 查询
- 机票列表
- P节点
- S节点
- A节点
- J节点
- D节点
- F节点
- H节点
- T节点
- C节点
- W节点
- Q节点
- O节点
- 机票列表返回参数说明
- 舱位
- 常见问题
- 未知错误,描述:50201 : 指定日期没有满足条件的航班
- 未知错误,描述:“\”为意外标记。预期标记为“"”或“'”。 行 1,位置 15。
- 座位数量为A
- 提交时有几种价格
- 0折的问题
- 共享航班
- 没有特价和公布运价
- 所有航空公司二字代码
- 接口文档
- 机型
- 采购云
- 报错
- 地址
- 异步AsyXmlSubmit返回结果
- 关于航司聊天记录
- 采购云用的是PNR还是航段下单
- 采购云返回结果
- 4.1 通过 PNR 比价 YeeGo.QueryPolicyByPNR_1_0
- 机票配置是怎么来的?
- 退票
- 采购云请求串
- 航班政策
- 下单请求串
- PNR码
- webabe状态
- webabe需要分析的接口
- office号是什么
- webabe报错
- webabe疑问
- 怎样验价
- 龙之舟
- 带web和不带web
- 龙之舟官网价
- 龙之舟支持的航班
- 龙之舟地址
- 黑屏操作
- 行啊
- 邮件列表
- 基础知识
- 价格问题
- 直达航班和无经停航班的区别是什么
- 共享航班
- 未知错误