GET api/fleet/vehicle/{userID}/{token}
Gets a list of vehicle IDs for the authenticated user - Maps to the GetVehicleIds method from the Fleet Web Service
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userID |
The ID returned from a successful login |
unsigned integer |
Required |
token |
The authentication token returned from a successful login |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of services belong to the user
Collection of unsigned integerResponse Formats
application/json, text/json
Sample:
[ 1, 2 ]
application/xml, text/xml
Sample:
<ArrayOfUnsignedLong xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <unsignedLong>1</unsignedLong> <unsignedLong>2</unsignedLong> </ArrayOfUnsignedLong>