GET api/mobile/driverlinkedvehicle/{driverID}/{token}

Get the current linked vehicle for a driver

Request Information

URI Parameters

NameDescriptionTypeAdditional information
driverID

The driver id being checked

unsigned integer

Required

token

The token generated from authentication

string

Required

Body Parameters

None.

Response Information

Resource Description

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
}

application/xml, text/xml

Sample:
<DriverVehicleResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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>