提供给蚂蚁链上公益团队,用于触发odps任务离线查询公益宝贝开票对账明细
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
account_check_query | AccountCheckQuery | 必须 | 公益宝贝开票对账信息查询入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
fail_msg | String | 内部服务错误 | 错误信息 |
fail_code | Number | 5051 | 错误码 |
has_success | Boolean | true | 是否成功 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaCsrDonateInvoiceQuerytoblockchainossRequest req = new AlibabaCsrDonateInvoiceQuerytoblockchainossRequest(); AlibabaCsrDonateInvoiceQuerytoblockchainossRequest.AccountCheckQuery obj1 = new AlibabaCsrDonateInvoiceQuerytoblockchainossRequest.AccountCheckQuery(); obj1.setMerchantId(1234L); obj1.setInvoiceOrgId( "202102167" ); List<AlibabaCsrDonateInvoiceQuerytoblockchainossRequest.BillDTO> list3 = new ArrayList<AlibabaCsrDonateInvoiceQuerytoblockchainossRequest.BillDTO>(); AlibabaCsrDonateInvoiceQuerytoblockchainossRequest.BillDTO obj4 = new AlibabaCsrDonateInvoiceQuerytoblockchainossRequest.BillDTO(); list3.add(obj4); obj4.setBillTime(202109L); obj4.setBillId( "231213" ); obj1.setBillList(list3); obj1.setInvoiceId( "261563" ); req.setAccountCheckQuery(obj1); AlibabaCsrDonateInvoiceQuerytoblockchainossResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 | < alibaba_csr_donate_invoice_querytoblockchainoss_response > < fail_msg >内部服务错误</ fail_msg > < fail_code >5051</ fail_code > < has_success >true</ has_success > </ alibaba_csr_donate_invoice_querytoblockchainoss_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 > |
错误码 | 错误描述 | 解决方案 |
---|