GET api/User/Vehicles?authKey={authKey}
Get List of vehicles allocated to authenticated user
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| authKey |
Authentication Hash |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
VehicleList with Id and Name
Collection of KeyValueViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id |
integer |
None. |
| Name |
Value Text |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
]
text/html
Sample:
[{"Id":1,"Name":"sample string 2"},{"Id":1,"Name":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfKeyValueViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dolphin.Models">
<KeyValueViewModel>
<Id>1</Id>
<Name>sample string 2</Name>
</KeyValueViewModel>
<KeyValueViewModel>
<Id>1</Id>
<Name>sample string 2</Name>
</KeyValueViewModel>
</ArrayOfKeyValueViewModel>