/basicOpen/logistics/headLogisticsProvider/query/list{
"operation": {
"method": "POST",
"path": "/basicOpen/logistics/headLogisticsProvider/query/list"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/logistics/headLogisticsProvider/query/list?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"search\": {\n \"page\": 1,\n \"length\": 20\n }\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "a0d54debf93140f3b58d1ed81e8e3583.178.17255922733991817",
"response_time": "2024-11-12 16:00:00",
"data": {
"total": 3,
"providers": [
{
"providerId": "PROV001",
"name": "顺丰速运",
"code": "SFEXPRESS",
"enabled": 1,
"logisticsType": 1,
"isAuth": 1,
"supplierCode": 1001,
"supplierName": "顺丰集团",
"status": 1,
"remark": "国内主要快递服务商",
"payMethod": 1,
"contactName": "王经理",
"contactPhone": "13812345678",
"creatorId": 10001,
"creatorName": "管理员A",
"createdAt": 1704067200
},
{
"providerId": "PROV002",
"name": "DHL国际快递",
"code": "DHLINTL",
"enabled": 1,
"logisticsType": 3,
"isAuth": 1,
"supplierCode": 2001,
"supplierName": "DHL集团",
"status": 1,
"remark": "全球领先的国际快递服务商",
"payMethod": 2,
"contactName": "李女士",
"contactPhone": "13987654321",
"creatorId": 10002,
"creatorName": "管理员B",
"createdAt": 1704067300
},
{
"providerId": "PROV003",
"name": "菜鸟裹裹",
"code": "CAINIAO",
"enabled": 1,
"logisticsType": 4,
"isAuth": 1,
"supplierCode": 3001,
"supplierName": "阿里巴巴",
"status": 1,
"remark": "平台聚合物流服务",
"payMethod": 1,
"contactName": "赵先生",
"contactPhone": "13700112233",
"creatorId": 10001,
"creatorName": "管理员A",
"createdAt": 1704067400
}
]
},
"total": 3
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | search | 搜索参数对象 | object | — | Optional | 搜索参数对象 |
| 1.1 | length | 分页长度 | integer | — | Optional | 分页长度,每页显示的记录数 |
| 1.2 | page | 页码 | integer | — | Optional | 页码,从1开始 |
| 1.3 | enabled | 启用状态 | integer | — | Optional | 启用状态,枚举值:0-禁用, 1-启用,默认启用 |
| 1.4 | isAuth | 是否api对接 | integer | — | Optional | 是否api对接,枚举值:0-否, 1-是,默认是 |
| 1.5 | payMethod | 结算方式 | integer | — | Optional | 结算方式,枚举值:1-现结, 2-月结,默认现结 |
| 1.6 | searchField | 搜索字段 | string | — | Optional | 搜索字段,指定搜索的目标字段名称,code 代码 ,name 物流商,默认物流商 |
| 1.7 | searchValue | 搜索值 | string | — | Optional | 搜索值,用于模糊搜索物流商名称、编码等 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 响应码 | integer | — | Required | 响应码 |
| 2 | data | 返回数据 | object | — | Required | 返回数据 |
| 2.1 | total | 总记录数 | integer | 100 | Required | 总记录数 |
| 2.2 | providers | 物流商列表 | array<object> | — | Required | 物流商列表 |
| 2.2.1 | providerId | 物流商id | string | — | Optional | 物流商id |
| 2.2.2 | name | 物流商名 | string | — | Optional | 物流商名 |
| 2.2.3 | code | 物流商代码 | string | — | Optional | 物流商代码 |
| 2.2.4 | enabled | 是否启用 0禁用 1 启用 | integer | — | Optional | 是否启用 0禁用 1 启用 |
| 2.2.5 | logisticsType | 类型 | integer | — | Optional | 类型 0 API物流 1 自定义物流 2 第三方仓物流 3 头程物流 4 平台物流 |
| 2.2.6 | isAuth | 是否api对接 | integer | — | Optional | 是否api对接 0 否 1 是 |
| 2.2.7 | supplierCode | 授权方code | integer | — | Optional | 授权方code |
| 2.2.8 | supplierName | 授权方 | string | — | Optional | 授权方 |
| 2.2.9 | status | 授权状态 | integer | — | Optional | 授权状态 0 未授权 1 已授权 |
| 2.2.10 | remark | 备注 | string | — | Optional | 备注 |
| 2.2.11 | payMethod | 结算方式 | integer | — | Optional | 结算方式 |
| 2.2.12 | contactName | 联系人 | string | — | Optional | 联系人 |
| 2.2.13 | contactPhone | 联系电话 | string | — | Optional | 联系电话 |
| 2.2.14 | creatorId | 创建人id | integer | — | Optional | 创建人id |
| 2.2.15 | creatorName | 创建人名 | string | — | Optional | 创建人名 |
| 2.2.16 | createdAt | 创建时间 | integer | — | Optional | 创建时间,Unix时间戳(秒) |
| 3 | error_details | 错误详情 | array<any> | — | Required | 错误详情 |
| 4 | message | 提示信息 | string | — | Required | 提示信息 |
| 5 | request_id | 请求id | string | — | Required | 请求id |
| 6 | response_time | 响应时间 | string | — | Required | 响应时间 |
| 7 | total | 总记录数 | integer | — | Required | 总记录数 |
The 查询物流 - 头程物流商 API (/basicOpen/logistics/headLogisticsProvider/query/list) 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.