SAP跟天猫精灵app接口对接,用户在app取消sap售后服务工单
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
cancel_request | Dtcancelrequest | 可选 | 取消服务单请求 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
cancel_response | Dtcancelresponse | 取消服务单返回 | |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TmallTmjlappSapServiceorderCancelRequest req = new TmallTmjlappSapServiceorderCancelRequest(); TmallTmjlappSapServiceorderCancelRequest.Dtcancelrequest obj1 = new TmallTmjlappSapServiceorderCancelRequest.Dtcancelrequest(); obj1.setZfwdh( "1000010" ); req.setCancelRequest(obj1); TmallTmjlappSapServiceorderCancelResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < tmall_tmjlapp_sap_serviceorder_cancel_response > < cancel_response > < return_message > < type >E</ type > < message >传入的服务单号不存在</ message > </ return_message > </ cancel_response > </ tmall_tmjlapp_sap_serviceorder_cancel_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 > |
错误码 | 错误描述 | 解决方案 |
---|