获取打印包裹
请求信息
接口地址
http://oms.hkapi.esuhaitao.com/WmsOpt/PrintOrderInfo/{warehouseCode}/{trackingNo}
请求方式
GET
Head 参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Authorization |
参数签名 把“输入参数 JSON 格式的字符串内容”使用HMACSHA1(URL安全的Base64编码) 进行加密 查看示例 |
string |
Required |
无。 |
URI 参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| trackingNo | string |
Required |
无。 |
无。 |
|
| warehouseCode | string |
Required |
无。 |
无。 |
应答信息
资源说明
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Code | integer |
无。 |
无。 |
无。 |
|
| Message | string |
无。 |
无。 |
无。 |
|
| Results | 打印配送单面单 |
无。 |
无。 |
无。 |
应答结果格式
application/json 或 text/json
Sample:
{
"Results": {
"WmsTrackingNo": "sample string 1",
"OrderCode": "sample string 2",
"Barcode": "sample string 3",
"ExternalCode": "sample string 4",
"Consignee": {
"Name": "sample string 1",
"Tel": "sample string 2",
"Country": "sample string 3",
"Province": "sample string 4",
"City": "sample string 5",
"District": "sample string 6",
"Address": "sample string 7",
"ZipCode": "sample string 8"
},
"Consigner": {
"Company": "sample string 1",
"Name": "sample string 2",
"Tel": "sample string 3",
"Country": "sample string 4",
"Province": "sample string 5",
"City": "sample string 6",
"District": "sample string 7",
"Address": "sample string 8",
"ZipCode": "sample string 9"
},
"WayBill": {
"ItemNames": "sample string 1",
"TrackingNo": "sample string 1",
"ServiceProduct": "sample string 2",
"ItemCount": 3,
"DeclaredValue": 4.0,
"TemplateCode": "sample string 5",
"PrintName": "sample string 6",
"DeliveryDestcode": "sample string 7"
},
"TotalWeight": 5.0,
"PackingList": {
"TemplateCode": "sample string 1",
"PrintName": "sample string 2"
},
"UserCode": "sample string 6"
},
"Code": 1,
"Message": "sample string 2"
}