GET api/TMSApp/Dispatch/GetFreeCarsInConsignArea?consignAreaId={consignAreaId}&TAID={TAID}&FPID={FPID}&consignerId={consignerId}&receiverId={receiverId}

获取在发货区域的空闲车辆

Request Information

URI Parameters

NameDescriptionTypeAdditional information
consignAreaId

发货 区域Id

integer

Required

TAID

承运分配ID

integer

Required

FPID

货运计划ID

integer

Required

consignerId

发货方ID

integer

Required

receiverId

收货方ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取在发货区域的空闲车辆

MsgBaseApiPageOfListOfcars
NameDescriptionTypeAdditional information
Status

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

integer

None.

Msg

返回消息

string

None.

Data

返回数据内容,默认为空

Collection of cars

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Msg": "sample string 2",
  "Data": [
    {
      "id": 1,
      "car_num": "sample string 2",
      "brand_id": 3,
      "energine_code": "sample string 4",
      "identification_number": "sample string 5",
      "owner_id": 1,
      "user_id": 1,
      "color": "sample string 6",
      "width": 1.0,
      "length": 1.0,
      "type_id": 7,
      "disabled": true,
      "disable_reason": "sample string 9",
      "GPS_id": "sample string 10",
      "GPS_phone": "sample string 11",
      "memo": "sample string 12",
      "CorpID": 13,
      "DistrictID": 14,
      "pic": "sample string 15",
      "HasEquipment": 16,
      "IsPublic": 17,
      "IsDeleted": 64,
      "CreateBy": 19,
      "CreateTime": "2020-10-20T22:34:02.9102335+08:00",
      "UpdateBy": 21,
      "UpdateTime": "2020-10-20T22:34:02.9102335+08:00",
      "Capacity": 23.1,
      "EffectStartTime": "2020-10-20T22:34:02.9102335+08:00",
      "EffectEndTime": "2020-10-20T22:34:02.9102335+08:00",
      "CommuPlatform": "sample string 26",
      "PlatformVehicle": 27,
      "Remark": "sample string 28",
      "ServiceCompanyId": 29,
      "Nationalstandard": 30,
      "drivers": [
        {
          "id": 1,
          "driver_name": "sample string 2",
          "sex": true,
          "mobile": "sample string 4",
          "urgent_phone": "sample string 5",
          "card_type": "sample string 6",
          "card_num": "sample string 7",
          "identity_num": "sample string 8",
          "photo": "sample string 9",
          "address": "sample string 10",
          "approved": true,
          "IsDeleted": 64,
          "CreateBy": 13,
          "CreateTime": "2020-10-20T22:34:02.9102335+08:00",
          "UpdateBy": 15,
          "UpdateTime": "2020-10-20T22:34:02.9102335+08:00",
          "UserId": 1,
          "AccountName": "sample string 17",
          "AcountNumber": "sample string 18",
          "IDCardNumber": "sample string 19",
          "CarStr": "sample string 20",
          "car_driversID": 21
        },
        {
          "id": 1,
          "driver_name": "sample string 2",
          "sex": true,
          "mobile": "sample string 4",
          "urgent_phone": "sample string 5",
          "card_type": "sample string 6",
          "card_num": "sample string 7",
          "identity_num": "sample string 8",
          "photo": "sample string 9",
          "address": "sample string 10",
          "approved": true,
          "IsDeleted": 64,
          "CreateBy": 13,
          "CreateTime": "2020-10-20T22:34:02.9102335+08:00",
          "UpdateBy": 15,
          "UpdateTime": "2020-10-20T22:34:02.9102335+08:00",
          "UserId": 1,
          "AccountName": "sample string 17",
          "AcountNumber": "sample string 18",
          "IDCardNumber": "sample string 19",
          "CarStr": "sample string 20",
          "car_driversID": 21
        }
      ]
    },
    {
      "id": 1,
      "car_num": "sample string 2",
      "brand_id": 3,
      "energine_code": "sample string 4",
      "identification_number": "sample string 5",
      "owner_id": 1,
      "user_id": 1,
      "color": "sample string 6",
      "width": 1.0,
      "length": 1.0,
      "type_id": 7,
      "disabled": true,
      "disable_reason": "sample string 9",
      "GPS_id": "sample string 10",
      "GPS_phone": "sample string 11",
      "memo": "sample string 12",
      "CorpID": 13,
      "DistrictID": 14,
      "pic": "sample string 15",
      "HasEquipment": 16,
      "IsPublic": 17,
      "IsDeleted": 64,
      "CreateBy": 19,
      "CreateTime": "2020-10-20T22:34:02.9102335+08:00",
      "UpdateBy": 21,
      "UpdateTime": "2020-10-20T22:34:02.9102335+08:00",
      "Capacity": 23.1,
      "EffectStartTime": "2020-10-20T22:34:02.9102335+08:00",
      "EffectEndTime": "2020-10-20T22:34:02.9102335+08:00",
      "CommuPlatform": "sample string 26",
      "PlatformVehicle": 27,
      "Remark": "sample string 28",
      "ServiceCompanyId": 29,
      "Nationalstandard": 30,
      "drivers": [
        {
          "id": 1,
          "driver_name": "sample string 2",
          "sex": true,
          "mobile": "sample string 4",
          "urgent_phone": "sample string 5",
          "card_type": "sample string 6",
          "card_num": "sample string 7",
          "identity_num": "sample string 8",
          "photo": "sample string 9",
          "address": "sample string 10",
          "approved": true,
          "IsDeleted": 64,
          "CreateBy": 13,
          "CreateTime": "2020-10-20T22:34:02.9102335+08:00",
          "UpdateBy": 15,
          "UpdateTime": "2020-10-20T22:34:02.9102335+08:00",
          "UserId": 1,
          "AccountName": "sample string 17",
          "AcountNumber": "sample string 18",
          "IDCardNumber": "sample string 19",
          "CarStr": "sample string 20",
          "car_driversID": 21
        },
        {
          "id": 1,
          "driver_name": "sample string 2",
          "sex": true,
          "mobile": "sample string 4",
          "urgent_phone": "sample string 5",
          "card_type": "sample string 6",
          "card_num": "sample string 7",
          "identity_num": "sample string 8",
          "photo": "sample string 9",
          "address": "sample string 10",
          "approved": true,
          "IsDeleted": 64,
          "CreateBy": 13,
          "CreateTime": "2020-10-20T22:34:02.9102335+08:00",
          "UpdateBy": 15,
          "UpdateTime": "2020-10-20T22:34:02.9102335+08:00",
          "UserId": 1,
          "AccountName": "sample string 17",
          "AcountNumber": "sample string 18",
          "IDCardNumber": "sample string 19",
          "CarStr": "sample string 20",
          "car_driversID": 21
        }
      ]
    }
  ]
}