GET Api/Driver?partnerID={partnerID}&clientID={clientID}&driverID={driverID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| partnerID | globally unique identifier |
Required |
|
| clientID | globally unique identifier |
Required |
|
| driverID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
VehicleViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleNo | string |
None. |
|
| Color | string |
None. |
|
| Odometer | integer |
None. |
|
| Year | string |
None. |
|
| VehicleGroup | VehicleGroupViewModel |
None. |
|
| VehicleModel | VehicleModelViewModel |
None. |
|
| VehicleType | VehicleType |
None. |
|
| FuelType | FuelType |
None. |
|
| FuelTankCapacity | integer |
None. |
|
| Registration | document_detail_view_model |
None. |
|
| Insurance | document_detail_view_model |
None. |
|
| AdditionalInfo | AdditionInfo |
None. |
|
| TempSensor1 | TempSensorViewModel |
None. |
|
| TempSensor2 | TempSensorViewModel |
None. |
|
| TempSensor3 | TempSensorViewModel |
None. |
|
| TempSensor4 | TempSensorViewModel |
None. |
|
| Humidity1 | TempSensorViewModel |
None. |
|
| Humidity2 | TempSensorViewModel |
None. |
|
| Humidity3 | TempSensorViewModel |
None. |
|
| Humidity4 | TempSensorViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"VehicleNo": "sample string 1",
"Color": "sample string 2",
"Odometer": 3,
"Year": "sample string 4",
"VehicleGroup": {
"Name": "sample string 1"
},
"VehicleModel": {
"Name": "sample string 1",
"WeightCapacity": 2,
"VolumeCapacity": 3
},
"VehicleType": 0,
"FuelType": 0,
"FuelTankCapacity": 1,
"Registration": {
"DocumentType": 1,
"ReferenceNo": "sample string 2",
"StartDate": "2025-11-09T00:49:16.942036+04:00",
"ExpiryDate": "2025-11-09T00:49:16.942036+04:00",
"Attachment": {
"ImageString": "sample string 1"
}
},
"Insurance": {
"DocumentType": 1,
"ReferenceNo": "sample string 2",
"StartDate": "2025-11-09T00:49:16.942036+04:00",
"ExpiryDate": "2025-11-09T00:49:16.942036+04:00",
"Attachment": {
"ImageString": "sample string 1"
}
},
"AdditionalInfo": {
"EngineNumber": "sample string 1",
"ChassisNumber": "sample string 2"
},
"TempSensor1": {
"IsEnabled": true,
"Name": "sample string 2",
"Value": 3.1
},
"TempSensor2": {
"IsEnabled": true,
"Name": "sample string 2",
"Value": 3.1
},
"TempSensor3": {
"IsEnabled": true,
"Name": "sample string 2",
"Value": 3.1
},
"TempSensor4": {
"IsEnabled": true,
"Name": "sample string 2",
"Value": 3.1
},
"Humidity1": {
"IsEnabled": true,
"Name": "sample string 2",
"Value": 3.1
},
"Humidity2": {
"IsEnabled": true,
"Name": "sample string 2",
"Value": 3.1
},
"Humidity3": {
"IsEnabled": true,
"Name": "sample string 2",
"Value": 3.1
},
"Humidity4": {
"IsEnabled": true,
"Name": "sample string 2",
"Value": 3.1
}
}
application/xml, text/xml
Sample:
<VehicleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootDriver.Service.Models">
<AdditionalInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ChassisNumber>sample string 2</d2p1:ChassisNumber>
<d2p1:EngineNumber>sample string 1</d2p1:EngineNumber>
</AdditionalInfo>
<Color>sample string 2</Color>
<FuelTankCapacity>1</FuelTankCapacity>
<FuelType>Petrol</FuelType>
<Humidity1>
<IsEnabled>true</IsEnabled>
<Name>sample string 2</Name>
<Value>3.1</Value>
</Humidity1>
<Humidity2>
<IsEnabled>true</IsEnabled>
<Name>sample string 2</Name>
<Value>3.1</Value>
</Humidity2>
<Humidity3>
<IsEnabled>true</IsEnabled>
<Name>sample string 2</Name>
<Value>3.1</Value>
</Humidity3>
<Humidity4>
<IsEnabled>true</IsEnabled>
<Name>sample string 2</Name>
<Value>3.1</Value>
</Humidity4>
<Insurance>
<Attachment xmlns:d3p1="http://schemas.datacontract.org/2004/07/FleetrootDriver.Service">
<d3p1:ImageString>sample string 1</d3p1:ImageString>
</Attachment>
<DocumentType>1</DocumentType>
<ExpiryDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>2025-11-08T20:49:16.942036Z</d3p1:DateTime>
<d3p1:OffsetMinutes>240</d3p1:OffsetMinutes>
</ExpiryDate>
<ReferenceNo>sample string 2</ReferenceNo>
<StartDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>2025-11-08T20:49:16.942036Z</d3p1:DateTime>
<d3p1:OffsetMinutes>240</d3p1:OffsetMinutes>
</StartDate>
</Insurance>
<Odometer>3</Odometer>
<Registration>
<Attachment xmlns:d3p1="http://schemas.datacontract.org/2004/07/FleetrootDriver.Service">
<d3p1:ImageString>sample string 1</d3p1:ImageString>
</Attachment>
<DocumentType>1</DocumentType>
<ExpiryDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>2025-11-08T20:49:16.942036Z</d3p1:DateTime>
<d3p1:OffsetMinutes>240</d3p1:OffsetMinutes>
</ExpiryDate>
<ReferenceNo>sample string 2</ReferenceNo>
<StartDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>2025-11-08T20:49:16.942036Z</d3p1:DateTime>
<d3p1:OffsetMinutes>240</d3p1:OffsetMinutes>
</StartDate>
</Registration>
<TempSensor1>
<IsEnabled>true</IsEnabled>
<Name>sample string 2</Name>
<Value>3.1</Value>
</TempSensor1>
<TempSensor2>
<IsEnabled>true</IsEnabled>
<Name>sample string 2</Name>
<Value>3.1</Value>
</TempSensor2>
<TempSensor3>
<IsEnabled>true</IsEnabled>
<Name>sample string 2</Name>
<Value>3.1</Value>
</TempSensor3>
<TempSensor4>
<IsEnabled>true</IsEnabled>
<Name>sample string 2</Name>
<Value>3.1</Value>
</TempSensor4>
<VehicleGroup>
<Name>sample string 1</Name>
</VehicleGroup>
<VehicleModel>
<Name>sample string 1</Name>
<VolumeCapacity>3</VolumeCapacity>
<WeightCapacity>2</WeightCapacity>
</VehicleModel>
<VehicleNo>sample string 1</VehicleNo>
<VehicleType>None</VehicleType>
<Year>sample string 4</Year>
</VehicleViewModel>