GET apiassetoauth/driive/driver
Get details of your driver and branding using your token
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
OAuthDriverResponseModelName | Description | Type | Additional information |
---|---|---|---|
DriverID |
The ID of the authenticated driver |
unsigned integer |
None. |
DriverName |
The name of the driver |
string |
None. |
DriverTelephoneNumber |
The telephone number of the driver |
string |
None. |
DriverRegion |
The region of the driver |
string |
None. |
AccidentTelephoneNumber |
The telephone number to ring in an accident |
string |
None. |
Brand | string |
None. |
|
Colour | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "DriverID": 1, "DriverName": "sample string 2", "DriverTelephoneNumber": "sample string 3", "DriverRegion": "sample string 4", "AccidentTelephoneNumber": "sample string 5", "Brand": "sample string 6", "Colour": "sample string 7" }
application/xml, text/xml
Sample:
<OAuthDriverResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DriverID>1</DriverID> <DriverName>sample string 2</DriverName> <DriverTelephoneNumber>sample string 3</DriverTelephoneNumber> <DriverRegion>sample string 4</DriverRegion> <AccidentTelephoneNumber>sample string 5</AccidentTelephoneNumber> <Brand>sample string 6</Brand> <Colour>sample string 7</Colour> </OAuthDriverResponseModel>