订单API> 订单查询Order inquiry
提供方:供应商
调用方: 携程
携程可以根据供应商提供的查询接口获取供应商订单处理的具体状态、使用情况等信息。
供应商接口返回码:务必优先匹配携程提供的标准错误码,并返回真实的失败原因(重要)。
Provider: supplier
Caller: ctrip
Ctrip can use the inquiry interface of supplier to obtain the specific order status, usage information,etc.
The returne code of supplier's interface: Be sure to match the standard error code provided by Ctrip first, and return the real failure reason (Important).
{ "header": { "accountId": "xiecheng", "serviceName": "QueryOrder", "requestTime": "2017-01-05 10:00:00", "version": "1.0", "sign": "fe1e9e3b450ab5eeba05f864acf1d7fa" }, "body": { "sequenceId": "20171010abcd95774f17c3e354e73f7aaf21b5ec", "otaOrderId": "123456", "supplierOrderId": "10001" } }
{ "header": { "resultCode": "0000", "resultMessage": "查询成功" }, "body": { "otaOrderId": "123456", "supplierOrderId": "100001", "items": [{ "itemId": "123456", "useStartDate": "2017-02-04", "useEndDate": "2017-02-04", "orderStatus": 1, "quantity": 1, "useQuantity": 1, "cancelQuantity": 0 }] } }