GET api/classe/drivervehicle?driverID={driverID}&token={token}

Get a list of vehicles for this driver

Request Information

URI Parameters

NameDescriptionTypeAdditional information
driverID

The driver id used during authentication

unsigned integer

Required

token

The token returned during authentication

string

Required

Body Parameters

None.

Response Information

Resource Description

A list of DriverVehicleResponseModel

Collection of DriverVehicleResponseModel
NameDescriptionTypeAdditional information
ServiceID

The service id of the vehicle

unsigned integer

None.

VehicleRegistration

The registration of the vehicle

string

None.

Make

The make of the vehicle

string

None.

Model

The model of the vehicle

string

None.

Provider

The provider of the vehicle

string

None.

PrivateMode

if the service is in private mode

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ServiceID": 1,
    "VehicleRegistration": "sample string 2",
    "Make": "sample string 3",
    "Model": "sample string 4",
    "Provider": "sample string 5",
    "PrivateMode": true
  },
  {
    "ServiceID": 1,
    "VehicleRegistration": "sample string 2",
    "Make": "sample string 3",
    "Model": "sample string 4",
    "Provider": "sample string 5",
    "PrivateMode": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfDriverVehicleResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DriverVehicleResponseModel>
    <ServiceID>1</ServiceID>
    <VehicleRegistration>sample string 2</VehicleRegistration>
    <Make>sample string 3</Make>
    <Model>sample string 4</Model>
    <Provider>sample string 5</Provider>
    <PrivateMode>true</PrivateMode>
  </DriverVehicleResponseModel>
  <DriverVehicleResponseModel>
    <ServiceID>1</ServiceID>
    <VehicleRegistration>sample string 2</VehicleRegistration>
    <Make>sample string 3</Make>
    <Model>sample string 4</Model>
    <Provider>sample string 5</Provider>
    <PrivateMode>true</PrivateMode>
  </DriverVehicleResponseModel>
</ArrayOfDriverVehicleResponseModel>