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

获取运单列表

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

orderID

采购订单ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取运单列表

MsgBaseApiPageOfDispatchListSummary
NameDescriptionTypeAdditional information
Status

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

integer

None.

Msg

返回消息

string

None.

Data

返回数据内容,默认为空

DispatchListSummary

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Msg": "sample string 2",
  "Data": {
    "TotalCount": 1,
    "TotalSend": 2.0,
    "TotalReceive": 3.0,
    "DispList": [
      {
        "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": "2024-12-12T10:03:27.2760954+08:00",
        "LeaveDeliverTime": "2024-12-12T10:03:27.2760954+08:00",
        "CompleteTimeStr": "2024-12-12 10:03:27"
      },
      {
        "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": "2024-12-12T10:03:27.2760954+08:00",
        "LeaveDeliverTime": "2024-12-12T10:03:27.2760954+08:00",
        "CompleteTimeStr": "2024-12-12 10:03:27"
      }
    ],
    "TotalDeductWeight": 4.0
  }
}