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

根据车牌号,获取运单列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageIndex

分页,从0开始

integer

Required

pageSize

每页显示多少项

integer

Required

keyWord

搜索关键词

string

Required

startTime

搜索开始时间,为null表示全部

date

Required

endTime

搜索结束时间,为null表示全部

date

Required

status

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

integer

Required

carNums

车牌号,多个车辆以英文逗号分隔

string

Required

Body Parameters

None.

Response Information

Resource Description

根据车牌号,获取运单列表

MsgBaseApiPageOfResultDataOfDispatchDetail
NameDescriptionTypeAdditional information
Status

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

integer

None.

Msg

返回消息

string

None.

Data

返回数据内容,默认为空

ResultDataOfDispatchDetail

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Msg": "sample string 2",
  "Data": {
    "data": [
      {
        "ShipperName": "sample string 1",
        "ConsignerName": "sample string 2",
        "ReceiverName": "sample string 3",
        "driver_name": "sample string 4",
        "mobile": "sample string 5",
        "ProductName": "sample string 6",
        "PlanNo": "sample string 7",
        "OrderName": "sample string 8",
        "AvgTime": 1.0,
        "RunningMiles": 9.0,
        "SendGross": 10.0,
        "ReceiveGross": 11.0,
        "DeductWeight": 12.0,
        "DeductReason": "sample string 13",
        "Memo": "sample string 14",
        "CreateTimeStr": "10-28 22:21",
        "UpdateTimeStr": "10-28 22:21",
        "StartTransTimeStr": "10-28 22:21",
        "ArriveDeliverTimeStr": "10-28 22:21",
        "LeaveDeliverTime": "0001-01-01T00:00:00",
        "LeaveDeliverTimeStr": "10-28 22:21",
        "RunningTime": 22.0,
        "RunningTimeStr": "22分钟",
        "PArriveDeliverTime": "2020-10-28 22:43:24",
        "TranTime": 0.0,
        "EstimateArriveTime": "sample string 24",
        "CompleteLeaveTimeStr": "10-28 22:21",
        "DId": 26,
        "DispatchSN": "sample string 27",
        "car_num": "sample string 28",
        "ConsignerAreaName": "sample string 29",
        "ReceiverAreaName": "sample string 30",
        "DispatchTime": 31.0,
        "DispatchTimeStr": "31分钟",
        "DStatus": 34,
        "StatusStr": "sample string 33",
        "IsFocus": 35,
        "ConginerId": 36,
        "ReceiverId": 37,
        "ShipperId": 38,
        "CName": "sample string 39",
        "SName": "sample string 40",
        "SendTare": 41.0,
        "ReceiveTare": 42.0,
        "OrderSN": "sample string 43",
        "CreateBy": 44,
        "NewStatusStr": "sample string 45",
        "DeliverFinishTime": "2020-10-28T22:21:24.2547093+08:00",
        "CompleteTimeStr": "2020-10-28 22:21:24"
      },
      {
        "ShipperName": "sample string 1",
        "ConsignerName": "sample string 2",
        "ReceiverName": "sample string 3",
        "driver_name": "sample string 4",
        "mobile": "sample string 5",
        "ProductName": "sample string 6",
        "PlanNo": "sample string 7",
        "OrderName": "sample string 8",
        "AvgTime": 1.0,
        "RunningMiles": 9.0,
        "SendGross": 10.0,
        "ReceiveGross": 11.0,
        "DeductWeight": 12.0,
        "DeductReason": "sample string 13",
        "Memo": "sample string 14",
        "CreateTimeStr": "10-28 22:21",
        "UpdateTimeStr": "10-28 22:21",
        "StartTransTimeStr": "10-28 22:21",
        "ArriveDeliverTimeStr": "10-28 22:21",
        "LeaveDeliverTime": "0001-01-01T00:00:00",
        "LeaveDeliverTimeStr": "10-28 22:21",
        "RunningTime": 22.0,
        "RunningTimeStr": "22分钟",
        "PArriveDeliverTime": "2020-10-28 22:43:24",
        "TranTime": 0.0,
        "EstimateArriveTime": "sample string 24",
        "CompleteLeaveTimeStr": "10-28 22:21",
        "DId": 26,
        "DispatchSN": "sample string 27",
        "car_num": "sample string 28",
        "ConsignerAreaName": "sample string 29",
        "ReceiverAreaName": "sample string 30",
        "DispatchTime": 31.0,
        "DispatchTimeStr": "31分钟",
        "DStatus": 34,
        "StatusStr": "sample string 33",
        "IsFocus": 35,
        "ConginerId": 36,
        "ReceiverId": 37,
        "ShipperId": 38,
        "CName": "sample string 39",
        "SName": "sample string 40",
        "SendTare": 41.0,
        "ReceiveTare": 42.0,
        "OrderSN": "sample string 43",
        "CreateBy": 44,
        "NewStatusStr": "sample string 45",
        "DeliverFinishTime": "2020-10-28T22:21:24.2547093+08:00",
        "CompleteTimeStr": "2020-10-28 22:21:24"
      }
    ],
    "recordsTotal": 3,
    "recordsFiltered": 3,
    "flag": true,
    "recordsSumTotal": 6.0
  }
}