根据PR单号查询合同信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
pr_code | String | 可选 | VPR168142 | PR单号 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ActionResult | 接口返回数据 | |
|
1 2 3 4 5 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaPurContractGetRequest req = new AlibabaPurContractGetRequest(); req.setPrCode( "VPR168142" ); AlibabaPurContractGetResponse 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 17 18 | < alibaba_pur_contract_get_response > < result > < success >true</ success > < error_code >500</ error_code > < content > < contract_top_out_d_t_o > < pr_code >PR1234</ pr_code > < supplier_code >111</ supplier_code > < supplier_name >111</ supplier_name > < contract_code >Z69202300008</ contract_code > < contract_gmt_create >2023-02-14 17:40:04</ contract_gmt_create > < contract_gmt_approval >2023-02-14 17:40:04</ contract_gmt_approval > < contract_status >audited</ contract_status > </ contract_top_out_d_t_o > </ content > < error_msg >系统异常</ error_msg > </ result > </ alibaba_pur_contract_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|