GET api/TMSApp/Dispatch/GetList?pageIndex={pageIndex}&pageSize={pageSize}&keyWord={keyWord}&startTime={startTime}&endTime={endTime}&status={status}&corpID={corpID}

获取运单列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageIndex

分页,从0开始

integer

Required

pageSize

每页显示多少项

integer

Required

keyWord

搜索关键词

string

Required

startTime

搜索开始时间

date

Required

endTime

搜索结束时间

date

Required

status

运单状态,具体参考Dispatch.Status的说明,-1.查询全部,-2.未完成运单,7.已完成,-3.发货中,-4.运输中,-5.卸货中,

integer

Required

corpID

用户所属公司ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取运单列表

MsgBaseApiPageOfListOfDispatch
NameDescriptionTypeAdditional information
Status

返回状态0:失败,1:成功

integer

None.

Msg

返回消息

string

None.

Data

返回数据内容,默认为空

Collection of Dispatch

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Msg": "sample string 2",
  "Data": [
    {
      "DId": 1,
      "DispatchSN": "sample string 2",
      "car_num": "sample string 3",
      "ConsignerAreaName": "sample string 4",
      "ReceiverAreaName": "sample string 5",
      "DispatchTime": 6.0,
      "DispatchTimeStr": "6分钟",
      "DStatus": 9,
      "StatusStr": "sample string 8",
      "IsFocus": 10,
      "ConginerId": 11,
      "ReceiverId": 12,
      "ShipperId": 13,
      "CName": "sample string 14",
      "SName": "sample string 15",
      "CreateTimeStr": "sample string 16",
      "SendGross": 17.0,
      "SendTare": 18.0,
      "ReceiveTare": 19.0,
      "ReceiveGross": 20.0,
      "OrderSN": "sample string 21",
      "CreateBy": 22,
      "NewStatusStr": "sample string 23",
      "ReceiverName": "sample string 24",
      "ProductName": "sample string 25",
      "DeliverFinishTime": "2020-10-28T10:57:15.7391669+08:00",
      "LeaveDeliverTime": "2020-10-28T10:57:15.7391669+08:00",
      "CompleteTimeStr": "2020-10-28 10:57:15"
    },
    {
      "DId": 1,
      "DispatchSN": "sample string 2",
      "car_num": "sample string 3",
      "ConsignerAreaName": "sample string 4",
      "ReceiverAreaName": "sample string 5",
      "DispatchTime": 6.0,
      "DispatchTimeStr": "6分钟",
      "DStatus": 9,
      "StatusStr": "sample string 8",
      "IsFocus": 10,
      "ConginerId": 11,
      "ReceiverId": 12,
      "ShipperId": 13,
      "CName": "sample string 14",
      "SName": "sample string 15",
      "CreateTimeStr": "sample string 16",
      "SendGross": 17.0,
      "SendTare": 18.0,
      "ReceiveTare": 19.0,
      "ReceiveGross": 20.0,
      "OrderSN": "sample string 21",
      "CreateBy": 22,
      "NewStatusStr": "sample string 23",
      "ReceiverName": "sample string 24",
      "ProductName": "sample string 25",
      "DeliverFinishTime": "2020-10-28T10:57:15.7391669+08:00",
      "LeaveDeliverTime": "2020-10-28T10:57:15.7391669+08:00",
      "CompleteTimeStr": "2020-10-28 10:57:15"
    }
  ]
}