动态返回支持的投诉类别
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
trace_id | String | 可选 | 6d684a10-873a-5c84-878c-161f15923200 | 请求唯一ID | |
client_source | String | 必须 | amap-car | 渠道来源,高德分配 | |
amap_order_id | String | 必须 | 1541894302897424029 | 高德订单号 | |
channel_order_id | String | 可选 | 1541894302897 | 渠道订单号(接入公司自定义) |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
trace_id | String | 6d684a10-873a-5c84-878c-161f15923200 | 请求唯一ID |
amap_order_id | String | 1541894302897424029 | 高德订单号 |
channel_order_id | String | 1541894302897 | 渠道订单号(接入公司自定义) |
result_code | String | 0 | 状态码 |
result_msg | String | success | 状态码描述 |
complaint_type_list | ComplaintTypeInfo [] | 投诉类别信息 | |
|
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAmapChannelCarComplaintTypeQueryRequest req = new AlibabaAmapChannelCarComplaintTypeQueryRequest(); req.setTraceId( "6d684a10-873a-5c84-878c-161f15923200" ); req.setClientSource( "amap-car" ); req.setAmapOrderId( "1541894302897424029" ); req.setChannelOrderId( "1541894302897" ); AlibabaAmapChannelCarComplaintTypeQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 | < alibaba_amap_channel_car_complaint_type_query_response > < trace_id >6d684a10-873a-5c84-878c-161f15923200</ trace_id > < amap_order_id >1541894302897424029</ amap_order_id > < channel_order_id >1541894302897</ channel_order_id > < result_code >0</ result_code > < result_msg >success</ result_msg > < complaint_type_list > < complaint_type_info > < desc >司机没来接我</ desc > < type >21185</ type > </ complaint_type_info > </ complaint_type_list > </ alibaba_amap_channel_car_complaint_type_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|