商旅度假-订单-供应商通知商旅
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
vacation_order_notify_request | VacationOrderNotifyRequest | 必须 | 通知参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result_success | Boolean | true | 请求是否成功 |
result_code | String | 200 | 结果码,200代表成功,其他失败 |
result_msg | String | Invalid Params | 错误信息 |
1 2 3 4 5 6 7 8 9 10 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripSupplychainVacationOrderNotifyRequest req = new AlitripBtripSupplychainVacationOrderNotifyRequest(); AlitripBtripSupplychainVacationOrderNotifyRequest.VacationOrderNotifyRequest obj1 = new AlitripBtripSupplychainVacationOrderNotifyRequest.VacationOrderNotifyRequest(); obj1.setTimeStamp(1231451515L); obj1.setBtripOrderId( "12124151" ); obj1.setNotifyType(2L); obj1.setNotifyMessage( "采购成功" ); req.setVacationOrderNotifyRequest(obj1); AlitripBtripSupplychainVacationOrderNotifyResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 | < alitrip_btrip_supplychain_vacation_order_notify_response > < result_success >true</ result_success > < result_code >200</ result_code > < result_msg >Invalid Params</ result_msg > </ alitrip_btrip_supplychain_vacation_order_notify_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 > |
错误码 | 错误描述 | 解决方案 |
---|