运单运抵
请求地址
https://www.xxyb.cn/union/api/wlpt/consignor/operateWaybillArrive
Header
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| Token | 是 | string | 应用令牌 |
| cid | 是 | string | 合作ID |
| corpId | 是 | string | 企业ID |
请求参数
| 参数名 | 必选 | 类型 | 层级 | 说明 | 示例 |
|---|---|---|---|---|---|
| id | 是 | string | 1 | 运单ID | 12213132 |
| waybillGoodsDomains | 是 | array | 1 | 运单货物信息 | |
| goodsType | 是 | string | 2 | 货物类型 | |
| goodsPrice | 是 | decimal | 2 | 货值 | 货值必须大于0 |
| goodsName | 是 | string | 2 | 货物名称 | |
| sendWeight | 是 | decimal | 2 | 发货重量 | 发货重量必须大于0 |
| deliveryWeight | 是 | decimal | 2 | 收货重量 | 收货重量需要大于0 |
| goodsNumber | 否 | decimal | 2 | 货物数量,按方必填 | 非必填,按方时必传,货物数量必须大于或等于0 |
| waybillReceiptDomains | 否 | array | 1 | 运单回单信息 | |
| receiptUrl | 是 | string | 2 | 回单地址 | |
| billImageType | 是 | enum | 2 | 回单类型 | 回单类型代码见下方 回单类型代码 |
入参示例
json
{
"id": "123456789",
"waybillGoodsDomains": [
{
"goodsType": "电子设备",
"goodsPrice": 1500.00,
"goodsName": "笔记本电脑",
"sendWeight": 2.5,
"deliveryWeight": 2.5,
"goodsNumber": 1
},
{
"goodsType": "办公用品",
"goodsPrice": 50.00,
"goodsName": "鼠标",
"sendWeight": 0.2,
"deliveryWeight": 0.2,
"goodsNumber": 5
}
],
"waybillReceiptDomains": [
{
"receiptUrl": "http://example.com/receipt1.jpg",
"billImageType": "IN_RECEIPT"
},
{
"receiptUrl": "http://example.com/receipt2.jpg",
"billImageType": "OUT_RECEIPT"
}
]
}返回参数
| 参数名 | 类型 | 层级 | 说明 |
|---|---|---|---|
| code | int | 1 | 状态码 |
| msg | string | 1 | 请求结果 |
| total | int | 1 | 返回总条数 |
| requestId | string | 1 | 请求编号 |
| data | object | 1 | 返回数据 |
反参示例
json
{
"code": 200,
"data": null,
"msg": "业务处理成功",
"total": null,
"requestId": "1eb7cb0e"
}回单类型代码:
| Name | Message |
|---|---|
| OUT_RECEIPT | 发货单 |
| IN_RECEIPT | 收货单 |
| LOAD_RECEIPT | 装货照 |
| UNLOAD_RECEIPT | 卸货照 |
