PO反馈接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
po_response | SupplierPoResponseDO [] | 可选 |
|
PO反馈信息 | |
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ActionResult | 暂无 | 获取url的出参 |
|
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 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaPurSupplierPorespcreateRequest req = new AlibabaPurSupplierPorespcreateRequest(); List<AlibabaPurSupplierPorespcreateRequest.SupplierPoResponseDO> list2 = new ArrayList<AlibabaPurSupplierPorespcreateRequest.SupplierPoResponseDO>(); AlibabaPurSupplierPorespcreateRequest.SupplierPoResponseDO obj3 = new AlibabaPurSupplierPorespcreateRequest.SupplierPoResponseDO(); list2.add(obj3); obj3.setPoNo( "PO12345678" ); obj3.setPoLineNum( "1" ); obj3.setProcurementMethod( "Quantity" ); obj3.setDelayReason( "暂无" ); obj3.setDeliveryAmount( "暂无" ); obj3.setCapacityRecordNo( "暂无" ); obj3.setRemark( "Test" ); obj3.setResponseType( "By_po" ); obj3.setEstimatedArrivalDate(StringUtils.parseDateTime( "2018-04-09 10:10:10" )); obj3.setProductionPeriod( "暂无" ); obj3.setDemanderPurchaseOrgCode( "暂无" ); obj3.setDeliveryQty( "100" ); obj3.setActualArrivalDate(StringUtils.parseDateTime( "2018-04-09 10:10:10" )); obj3.setSupplierCode( "暂无" ); obj3.setSupplierName( "服务器供应商" ); obj3.setProjectCode( "暂无" ); obj3.setOuCode( "A50" ); obj3.setDeliveryBatchNo( "暂无" ); obj3.setStatus( "暂无" ); req.setPoResponse(list2); AlibabaPurSupplierPorespcreateResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 | < alibaba_pur_supplier_porespcreate_response > < result > < content >true</ content > < error_msg >字段不能为空</ error_msg > </ result > </ alibaba_pur_supplier_porespcreate_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 > |
错误码 | 错误描述 | 解决方案 |
---|