/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
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | search | 搜索参数对象 | object | — | 可选 | 搜索参数对象 |
| 1.1 | length | 分页长度 | integer | — | 可选 | 分页长度,每页显示的记录数 |
| 1.2 | page | 页码 | integer | — | 可选 | 页码,从1开始 |
| 1.3 | enabled | 启用状态 | integer | — | 可选 | 启用状态,枚举值:0-禁用, 1-启用,默认启用 |
| 1.4 | isAuth | 是否api对接 | integer | — | 可选 | 是否api对接,枚举值:0-否, 1-是,默认是 |
| 1.5 | payMethod | 结算方式 | integer | — | 可选 | 结算方式,枚举值:1-现结, 2-月结,默认现结 |
| 1.6 | searchField | 搜索字段 | string | — | 可选 | 搜索字段,指定搜索的目标字段名称,code 代码 ,name 物流商,默认物流商 |
| 1.7 | searchValue | 搜索值 | string | — | 可选 | 搜索值,用于模糊搜索物流商名称、编码等 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 响应码 | integer | — | 必填 | 响应码 |
| 2 | data | 返回数据 | object | — | 必填 | 返回数据 |
| 2.1 | total | 总记录数 | integer | 100 | 必填 | 总记录数 |
| 2.2 | providers | 物流商列表 | array<object> | — | 必填 | 物流商列表 |
| 2.2.1 | providerId | 物流商id | string | — | 可选 | 物流商id |
| 2.2.2 | name | 物流商名 | string | — | 可选 | 物流商名 |
| 2.2.3 | code | 物流商代码 | string | — | 可选 | 物流商代码 |
| 2.2.4 | enabled | 是否启用 0禁用 1 启用 | integer | — | 可选 | 是否启用 0禁用 1 启用 |
| 2.2.5 | logisticsType | 类型 | integer | — | 可选 | 类型 0 API物流 1 自定义物流 2 第三方仓物流 3 头程物流 4 平台物流 |
| 2.2.6 | isAuth | 是否api对接 | integer | — | 可选 | 是否api对接 0 否 1 是 |
| 2.2.7 | supplierCode | 授权方code | integer | — | 可选 | 授权方code |
| 2.2.8 | supplierName | 授权方 | string | — | 可选 | 授权方 |
| 2.2.9 | status | 授权状态 | integer | — | 可选 | 授权状态 0 未授权 1 已授权 |
| 2.2.10 | remark | 备注 | string | — | 可选 | 备注 |
| 2.2.11 | payMethod | 结算方式 | integer | — | 可选 | 结算方式 |
| 2.2.12 | contactName | 联系人 | string | — | 可选 | 联系人 |
| 2.2.13 | contactPhone | 联系电话 | string | — | 可选 | 联系电话 |
| 2.2.14 | creatorId | 创建人id | integer | — | 可选 | 创建人id |
| 2.2.15 | creatorName | 创建人名 | string | — | 可选 | 创建人名 |
| 2.2.16 | createdAt | 创建时间 | integer | — | 可选 | 创建时间,Unix时间戳(秒) |
| 3 | error_details | 错误详情 | array<any> | — | 必填 | 错误详情 |
| 4 | message | 提示信息 | string | — | 必填 | 提示信息 |
| 5 | request_id | 请求id | string | — | 必填 | 请求id |
| 6 | response_time | 响应时间 | string | — | 必填 | 响应时间 |
| 7 | total | 总记录数 | integer | — | 必填 | 总记录数 |
领星ERP的接口:查询物流 - 头程物流商(/basicOpen/logistics/headLogisticsProvider/query/list),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。