本对本电子面单打印 (不支持AE跨境)
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
warehouse_order_id | Number | 必须 | 3546234234 | Logistics order No | |
intl_tracking_no | String | 必须 | LN123123123CN | waybill number (tracking number) | |
print_detail | Boolean | 可选 | false | option to print package bill |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | HsfResult | response result | |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressLogisticsLocalGetwaybillbypdfRequest req = new AliexpressLogisticsLocalGetwaybillbypdfRequest(); req.setWarehouseOrderId(3546234234L); req.setIntlTrackingNo( "LN123123123CN" ); req.setPrintDetail( false ); AliexpressLogisticsLocalGetwaybillbypdfResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < aliexpress_logistics_local_getwaybillbypdf_response > < result > < success >true</ success > < error_code >P-088-0000-00-99-000</ error_code > < error_msg >系统异常</ error_msg > < data >{"Content-Disposition":"attachment;filename=5000003870318","body":"Ay4fyiTmJLpfnci4mFCOcXdRqz","StatusCode":200,"Content-Type":"application/x-zip-compressed"}</ data > </ result > </ aliexpress_logistics_local_getwaybillbypdf_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 > |
错误码 | 错误描述 | 解决方案 |
---|