飞猪-菲住联盟迁移,用户订单列表查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
buyer_id | Number | 可选 | 1001 | 买家id | |
query_type | Number | 可选 | 1 | 订单分类 | |
trace_id | String | 可选 | 1001 | 日志链路id |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | QueryOrderListResponse | 服务出参 | 系统自动生成 |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripFuturehotelHaorderOrderListRequest req = new AlitripFuturehotelHaorderOrderListRequest(); req.setBuyerId(1001L); req.setQueryType(1L); req.setTraceId( "1001" ); AlitripFuturehotelHaorderOrderListResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | < alitrip_futurehotel_haorder_order_list_response > < result > < fh_code >200</ fh_code > < fh_msg >成功</ fh_msg > < fh_success >true</ fh_success > < order_list > < buyer_order_vo > < address >浙江省杭州市余杭区五常街道</ address > < auto_renew >1</ auto_renew > < business_order_list > < buyer_business_order > < product_id >1001</ product_id > < product_name >菲住会员卡</ product_name > < sell_price >3900</ sell_price > < status >1</ status > < status_desc >待支付</ status_desc > </ buyer_business_order > </ business_order_list > < checkin_date >Mon Jun 07 16:41:02 CST 2021</ checkin_date > < checkout_date >Mon Jun 07 16:41:02 CST 2021</ checkout_date > < has_comment >false</ has_comment > < is_refund >1</ is_refund > < nights >1</ nights > < order_id >19293212121</ order_id > < order_type >1</ order_type > < pay_channel >1</ pay_channel > < payment >10000</ payment > < product_id >1001</ product_id > < product_name >如家酒店</ product_name > < room_id >1001</ room_id > < room_number >1</ room_number > < show_cancel_button >true</ show_cancel_button > < status >1</ status > < status_desc >待支付</ status_desc > </ buyer_order_vo > </ order_list > </ result > </ alitrip_futurehotel_haorder_order_list_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|