List all the assets of a group
get/v1/groups/{id}/assets
Request
- Base URLhttps://api.gomotive.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Specify the ID of the group for which you want to list all the assets.
Query parameters
updated_afterstring date
Specify the date after which the assets were updated.
per_pageinteger
Denotes the number of records per page.
page_nointeger
Denotes the current page.
Headers
X-Time-Zonestring
Time zone used to format timestamps.
X-Metric-Unitsboolean
System of units to use to convert different metrics. true for metric units and false for imperial units.
X-User-Idinteger
Specify the ID of the Fleet Admin or the Fleet Manager who is accessing this endpoint.
Response
200
Example response
{
"vehicles": [
{
"vehicle": {
"id": 4565,
"number": "301",
"status": "active",
"make": "Demo",
"model": "Vehicle"
}
}
],
"pagination": {
"per_page": 25,
"page_no": 1,
"total": 2
}
}Changes
No recorded changes to this operation across all 1 revision of this API.