充电项目-发票详情
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
common_param | String | 必须 | {"userToken":"zebra-82b2c8c7c81f8cdf01e90cd351bb3e29_pre","sourceType":"APP","bizCode":"ccq","oemCode":"SMPV","deviceId":"mysaictestcar","brandCode":"RMARK"} | 公共参数 | |
request_param | String | 必须 | {"a":1} | 业务参数 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | DataResponse | 返回结果 | |
|
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); YunosChargeInvoiceDetailRequest req = new YunosChargeInvoiceDetailRequest(); req.setCommonParam( "{\"userToken\":\"zebra-82b2c8c7c81f8cdf01e90cd351bb3e29_pre\",\"sourceType\":\"APP\",\"bizCode\":\"ccq\",\"oemCode\":\"SMPV\",\"deviceId\":\"mysaictestcar\",\"brandCode\":\"RMARK\"}" ); req.setRequestParam( "{\"a\":1}" ); YunosChargeInvoiceDetailResponse 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 19 20 21 22 23 | < yunos_charge_invoice_detail_response > < result > < data > < apply_status >0</ apply_status > < apply_time >0</ apply_time > < invoice_amount >0</ invoice_amount > < invoice_code >0</ invoice_code > < invoice_content >0</ invoice_content > < invoice_header >0</ invoice_header > < invoice_no >0</ invoice_no > < invoice_seq >0</ invoice_seq > < invoice_type >0</ invoice_type > < receive_email >0</ receive_email > < tax_id_number >0</ tax_id_number > < invoice_url >0</ invoice_url > < invoice_time >0</ invoice_time > < fail_reason >0</ fail_reason > </ data > < err_code >0</ err_code > < err_message >0</ err_message > < success >0</ success > </ result > </ yunos_charge_invoice_detail_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 > |
错误码 | 错误描述 | 解决方案 |
---|