仓合作关系确认
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
warehouse_cooperation_batch_confirm_request | WarehouseCooperationBatchConfirmRequest | 必须 | 仓合作关系确认入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
warehouse_cooperation_batch_confirm_response | WarehouseCooperationBatchConfirmResponse | 无 | 仓合作关系确认出参 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); LogisticsWarehouseCooperationBatchConfirmRequest req = new LogisticsWarehouseCooperationBatchConfirmRequest(); LogisticsWarehouseCooperationBatchConfirmRequest.WarehouseCooperationBatchConfirmRequest obj1 = new LogisticsWarehouseCooperationBatchConfirmRequest.WarehouseCooperationBatchConfirmRequest(); obj1.setRequestTime(1689067417799L); obj1.setRequestId( "xxx1689067417799xxx" ); obj1.setSupplierId( "1000001" ); obj1.setWarehouseCode( "whCode1" ); obj1.setCooperationStatus(1L); List<LogisticsWarehouseCooperationBatchConfirmRequest.CooperationWarehouses> list3 = new ArrayList<LogisticsWarehouseCooperationBatchConfirmRequest.CooperationWarehouses>(); LogisticsWarehouseCooperationBatchConfirmRequest.CooperationWarehouses obj4 = new LogisticsWarehouseCooperationBatchConfirmRequest.CooperationWarehouses(); list3.add(obj4); obj4.setWmsOwnerCode( "wmsOwnerCode1" ); obj4.setCooperationWhCode( "userWhCode1" ); obj1.setCooperationWarehouses(list3); obj1.setBusinessCode( "OFFICIAL_LOGISTICS" ); req.setWarehouseCooperationBatchConfirmRequest(obj1); LogisticsWarehouseCooperationBatchConfirmResponse 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 | < logistics_warehouse_cooperation_batch_confirm_response > < warehouse_cooperation_batch_confirm_response > < success >true</ success > < code >CONFIRM_FAIL</ code > < message >确认失败</ message > < result >1</ result > < data > < warehouse_cooperation_confirm_result_detail > < code >CONFIRM_FAIL</ code > < message >确认失败</ message > < wms_owner_code >wmsOwnerCode1</ wms_owner_code > < cooperation_wh_code >userWhCode1</ cooperation_wh_code > </ warehouse_cooperation_confirm_result_detail > </ data > </ warehouse_cooperation_batch_confirm_response > </ logistics_warehouse_cooperation_batch_confirm_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 > |
错误码 | 错误描述 | 解决方案 |
---|