- 蔬东坡开放平台API文档
- 什么是蔬东坡开放平台
- 开发入门
- 基础数据接口
- 库房
- 商品
- 订单
- 采购单
- 客户协议价
- 客户
- 异步通知
- 订单-退货单
- 商品-溯源
- 出、入库单查询
- 客户类型
- 现有库存查询
- 库房-分拣
- 采购-退货单
- 财务
获取线路列表
GET
/openApi/delivery/lineList
请求参数
Query 参数
appid
string
必需
timestamp
integer
当前时间戳
示例值:
{{timestamp}}
sign
string
签名参数(32位)
示例值:
{{sign}}
notice
string
可选
site_id
string
站点
delivery_date
string
发货日期
order_status
string
订单状态
page
integer
页码
示例值:
1
page_size
integer
每页大小
示例值:
1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://basesfpstest.sdongpo.com/openApi/delivery/lineList?appid×tamp={{timestamp}}&sign={{sign}}&delivery_date'
返回响应
🟢200成功
application/json
Body
status
integer
必需
data
object
必需
list
array [object {26}]
必需
pageParams
object
必需
summary
object
必需
message
null
必需
示例
{
"status": 1,
"data": {
"list": [
{
"line_id": "110",
"line_name": "C线路",
"driver_id": "4",
"name": "C线路",
"driver": "姜司机客户集团",
"tonnage": "0.00",
"barcode": "0354320000110",
"line_remark": "",
"driver_name": "姜司机客户集团",
"driver_tel": "15520203030",
"create_time": "2024-11-21 10:44:01",
"account_name": "姜司机",
"line_code": "",
"is_default": "0",
"line_user_total": "3",
"user_total": "1",
"order_total": "6",
"price": "329.18",
"actual_price": "290.50",
"total_order_amount": "19.00",
"total_weight": "0.00",
"total_volume": "0",
"is_stockout": "1",
"is_confirm_delivery_order_total": 0,
"un_confirm_delivery_order_total": 6,
"order_ids": "2217,274,2212,2211,1497,1485"
}
],
"pageParams": {
"page": "1",
"total_page": 67,
"page_size": "1",
"count": "67"
},
"summary": {
"price": "520.02",
"actual_price": "450.44"
}
},
"message": null
}