global virtual send code service
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
trade_order_line_id | Number | 必须 | 8010639998482572 | trade order id | |
code_list | VirtualCertificateDo [] | 必须 |
|
code list | |
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Response | {} | result describe |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaGlobalVirtualSendcodeRequest req = new AlibabaGlobalVirtualSendcodeRequest(); req.setTradeOrderLineId(8010639998482572L); List<AlibabaGlobalVirtualSendcodeRequest.VirtualCertificateDo> list2 = new ArrayList<AlibabaGlobalVirtualSendcodeRequest.VirtualCertificateDo>(); AlibabaGlobalVirtualSendcodeRequest.VirtualCertificateDo obj3 = new AlibabaGlobalVirtualSendcodeRequest.VirtualCertificateDo(); list2.add(obj3); obj3.setGmtModified(123123L); obj3.setFile( "123123" ); obj3.setCode( "12312" ); obj3.setOrderTrackId( "123123" ); obj3.setStartTime(123123L); obj3.setRemark( "123123" ); obj3.setId(123L); obj3.setEndTime(123123L); obj3.setGmtCreate(123123L); obj3.setTradeOrderLineId(8010639998482572L); req.setCodeList(list2); AlibabaGlobalVirtualSendcodeResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 | < alibaba_global_virtual_sendcode_response > < result > < success >true</ success > < module >true</ module > < error_code > < key >GLOBAL_VIRTUAL_S_MERCHANT_DO_NOT_OWN_THIS_ORDER</ key > < display_message >GLOBAL_VIRTUAL_S_MERCHANT_DO_NOT_OWN_THIS_ORDER</ display_message > </ error_code > < repeated >false</ repeated > < retry >false</ retry > </ result > </ alibaba_global_virtual_sendcode_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 > |
错误码 | 错误描述 | 解决方案 |
---|