GET api/v4/vehicle?userID={userID}&token={token}&groupID={groupID}

Maps to GetVehicleIds and GetVehicleIdsForGroup from the V4 web service

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

The ID returned from a successful login

unsigned integer

Required

token

The authentication token returned from a successful login

string

Required

groupID

The group id being queried

unsigned integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

A list of vehicle (service) ids

Collection of unsigned integer

Response 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>