GET api/TMSApp/Dispatch/GetDriversAndCarsForTmsApp?IsInConsignArea={IsInConsignArea}&Keywords={Keywords}&ConsignerID={ConsignerID}&ReceiverID={ReceiverID}&pageIndex={pageIndex}&pageSize={pageSize}&ConsignAreaID={ConsignAreaID}

2020-11-12 新增车辆加载接口,解决车辆太多加载慢问题 获取公司车辆及车辆司机

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IsInConsignArea

integer

Required

Keywords

string

Required

ConsignerID

integer

Required

ReceiverID

integer

Required

pageIndex

integer

Required

pageSize

integer

Required

ConsignAreaID

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

2020-11-12 新增车辆加载接口,解决车辆太多加载慢问题 获取公司车辆及车辆司机

MsgBaseApiPageOfListOfv_car_list
NameDescriptionTypeAdditional information
Status

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

integer

None.

Msg

返回消息

string

None.

Data

返回数据内容,默认为空

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Msg": "sample string 2",
  "Data": [
    {
      "CreateTimeStr": "2020-11-28 13:17:55",
      "EffectTimeStr": "2020-11-28~2020-11-28",
      "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-11-28T13:17:55.2824429+08:00",
          "UpdateBy": 15,
          "UpdateTime": "2020-11-28T13:17:55.2824429+08:00",
          "UserId": 1,
          "AccountName": "sample string 17",
          "AcountNumber": "sample string 18",
          "IDCardNumber": "sample string 19"
        },
        {
          "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-11-28T13:17:55.2824429+08:00",
          "UpdateBy": 15,
          "UpdateTime": "2020-11-28T13:17:55.2824429+08:00",
          "UserId": 1,
          "AccountName": "sample string 17",
          "AcountNumber": "sample string 18",
          "IDCardNumber": "sample string 19"
        }
      ],
      "IsSendDispatch": 3,
      "id": 4,
      "car_num": "sample string 5",
      "brand_id": 6,
      "energine_code": "sample string 7",
      "identification_number": "sample string 8",
      "owner_id": 1,
      "user_id": 1,
      "type_id": 9,
      "disabled": true,
      "disable_reason": "sample string 11",
      "GPS_id": "sample string 12",
      "GPS_phone": "sample string 13",
      "memo": "sample string 14",
      "CorpID": 15,
      "DistrictID": 16,
      "pic": "sample string 17",
      "IsPublic": 18,
      "HasEquipment": 19,
      "IsDeleted": 64,
      "CreateBy": 21,
      "CreateTime": "2020-11-28T13:17:55.2824429+08:00",
      "UpdateBy": 23,
      "UpdateTime": "2020-11-28T13:17:55.2824429+08:00",
      "brandName": "sample string 25",
      "car_typename": "sample string 26",
      "owner_name": "sample string 27",
      "owner_mobile": "sample string 28",
      "owner_IDCard_num": "sample string 29",
      "CorpName": "sample string 30",
      "CreateCorpId": 1,
      "CreateName": "sample string 31",
      "IDCode": "sample string 32",
      "ServiceCompanyName": "sample string 33",
      "ServiceCompanyId": 34,
      "EffectStartTime": "2020-11-28T13:17:55.2824429+08:00",
      "EffectEndTime": "2020-11-28T13:17:55.2824429+08:00",
      "CommuPlatform": "sample string 37",
      "PlatformVehicle": 38,
      "Remark": "sample string 39",
      "Nationalstandard": 1,
      "Capacity": 40.1
    },
    {
      "CreateTimeStr": "2020-11-28 13:17:55",
      "EffectTimeStr": "2020-11-28~2020-11-28",
      "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-11-28T13:17:55.2824429+08:00",
          "UpdateBy": 15,
          "UpdateTime": "2020-11-28T13:17:55.2824429+08:00",
          "UserId": 1,
          "AccountName": "sample string 17",
          "AcountNumber": "sample string 18",
          "IDCardNumber": "sample string 19"
        },
        {
          "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-11-28T13:17:55.2824429+08:00",
          "UpdateBy": 15,
          "UpdateTime": "2020-11-28T13:17:55.2824429+08:00",
          "UserId": 1,
          "AccountName": "sample string 17",
          "AcountNumber": "sample string 18",
          "IDCardNumber": "sample string 19"
        }
      ],
      "IsSendDispatch": 3,
      "id": 4,
      "car_num": "sample string 5",
      "brand_id": 6,
      "energine_code": "sample string 7",
      "identification_number": "sample string 8",
      "owner_id": 1,
      "user_id": 1,
      "type_id": 9,
      "disabled": true,
      "disable_reason": "sample string 11",
      "GPS_id": "sample string 12",
      "GPS_phone": "sample string 13",
      "memo": "sample string 14",
      "CorpID": 15,
      "DistrictID": 16,
      "pic": "sample string 17",
      "IsPublic": 18,
      "HasEquipment": 19,
      "IsDeleted": 64,
      "CreateBy": 21,
      "CreateTime": "2020-11-28T13:17:55.2824429+08:00",
      "UpdateBy": 23,
      "UpdateTime": "2020-11-28T13:17:55.2824429+08:00",
      "brandName": "sample string 25",
      "car_typename": "sample string 26",
      "owner_name": "sample string 27",
      "owner_mobile": "sample string 28",
      "owner_IDCard_num": "sample string 29",
      "CorpName": "sample string 30",
      "CreateCorpId": 1,
      "CreateName": "sample string 31",
      "IDCode": "sample string 32",
      "ServiceCompanyName": "sample string 33",
      "ServiceCompanyId": 34,
      "EffectStartTime": "2020-11-28T13:17:55.2824429+08:00",
      "EffectEndTime": "2020-11-28T13:17:55.2824429+08:00",
      "CommuPlatform": "sample string 37",
      "PlatformVehicle": 38,
      "Remark": "sample string 39",
      "Nationalstandard": 1,
      "Capacity": 40.1
    }
  ]
}