GET apiassetoauth/driive/drivervehicle
Get a list of vehicles for a driver
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DriverVehicleResponseModel| Name | Description | Type | Additional 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>