/erp/sc/routing/tms/FirstVessel/addChannels{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/tms/FirstVessel/addChannels"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"channelsData": [
{
"channel_name": "test-0826",
"volume_calc_param": 5000,
"zip_code": "",
"valid_period": 1,
"remark": "",
"billing_type": 0,
"logistics_provider_id": "36",
"billing": "1,10,2|11,15,2.8"
}
]
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | channelsData | 头程物流方式数据 | array<object> | — | Required | 头程物流方式数据,每次请求限制20条 |
| 1.1 | channel_name | 头程物流方式名称 | string | — | Optional | 头程物流方式名称 |
| 1.2 | volume_calc_param | 材积计算参数 | string | — | Optional | 材积计算参数 |
| 1.3 | zip_code | 邮编 | integer | — | Required | 邮编 |
| 1.4 | valid_period | 时效天数 | string | — | Required | 时效天数 |
| 1.5 | remark | 备注 | string | — | Required | 备注 |
| 1.6 | billing_type | 计费类型 | integer | — | Optional | 计费类型:0 重量,1 体积 |
| 1.7 | logistics_provider_id | 所属头程物流商id | string | — | Optional | 所属头程物流商id |
| 1.8 | billing | 运费信息 | string | — | Optional | 运费信息,格式:【注意逗号使用英文逗号,多条运费以竖线分隔】 重量范围开始(kg),重量范围结束(kg),价格(元/kg) |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | FFE89896-B9C5-1634-5589-6E0F89F0E4A2 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-04-30 17:33:32 | Required | 响应时间 |
| 6 | data | 响应数据 | array<object> | | Required | 响应数据 |
| 6.1 | id | 物流方式对应的id | integer | — | Required | 物流方式对应的id |
| 7 | total | 总数 | integer | | Required | 总数 |
The 批量添加头程物流方式 API (/erp/sc/routing/tms/FirstVessel/addChannels) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.