增值服务处理
请求信息
接口地址
http://oms.hkapi.esuhaitao.com/WmsOpt/ExtraService/Handle
请求方式
POST
Head 参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Authorization |
参数签名 把“输入参数 JSON 格式的字符串内容”使用HMACSHA1(URL安全的Base64编码) 进行加密 查看示例 |
string |
Required |
无。 |
输入参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| PackageId |
包裹Id |
integer |
无。 |
无。 |
无。 |
| Weight |
货物实重 单位 千克 |
decimal number |
Required |
无。 |
无。 |
| WeightUnit |
重量单位 KG 0 LBS 1 |
integer |
无。 |
无。 |
无。 |
| Volume |
体积重 |
string |
无。 |
无。 |
无。 |
| Results |
处理结果集合 |
Collection of 增值服务结果 |
无。 |
无。 |
无。 |
请求参数格式
application/json 或 text/json
Sample:
{
"PackageId": 1,
"Weight": 2.0,
"WeightUnit": 3,
"Volume": "sample string 4",
"OpUserId": 5,
"Results": [
{
"TrackingNo": "sample string 1",
"Items": [
{
"ExtraServiceCode": "sample string 1",
"Result": "sample string 2",
"Photos": "sample string 3"
},
null
]
},
null
]
}
应答信息
资源说明
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Code | integer |
无。 |
无。 |
无。 |
|
| Message | string |
无。 |
无。 |
无。 |
应答结果格式
application/json 或 text/json
Sample:
{
"Code": 1,
"Message": "sample string 2"
}