GET https://api.sengerio.com/v1/vehicles
Parameters
Name | Type | Required | Default | Notes |
---|---|---|---|---|
filter | json | Yes | Set of properties to filter in an AND clause. For each property select the operator (gt: greather than; lt: less than; eq: equals; in: is in array) and the value to filter. Datetime and number values must be written in the standard format (yyyy-mm-dd for dates and 10.30 for numbers).[ { "property":"status", "operator":"in", "value":["Active"] }, { "property":"plate", "operator":"eq", "value":"AB123CD" } ] | |
sort | json | No | Property name and sort direction (ASC or DESC) on which sort the result.[ { "property":"created_at", "direction":"DESC" } ] | |
start | integer | No | 1 | Initial row |
limit | integer | No | 25 | Number of rows per page. |
Example response
{ "success": true, "total": 9, "rows": [ { "id": 7219308, "code": "0181", "plate": "AB123CD", "status": "Active", "seats": 49, "engine type": "Euro 6", ... }, { "id": 7219127, "code": "0180", ... } ] }