Endpoint
POST vehicle-data
Returns data from vehicles connected to the company
POST
Although this is a POST request, this route is not intended to create a resource in the API. It was designed this way to make it easier to customize the payload sent in the request body.
Request
Header
The bearer token used to authenticate the company.
Body
The list of Vehicle Identification Numbers (VINs) of the vehicles whose data you want to retrieve.
- A maximum of 20 VINs can be provided.
The list of datapoints you want to retrieve from the vehicles.
This is an optional parameter that can be used to filter the data start date. It must be sent in one of the following formats:
- YYYY-MM-DD For filtering purposes, the following time will be considered: YYYY-MM-DDT00:00:00-03:00 (UTC-3)
- YYYY-MM-DDTHH:MM:SS For filtering purposes, the following time will be considered: YYYY-MM-DDTHH:MM:SS-03:00 (UTC-3)
- YYYY-MM-DDTHH:MM:SS-ZZ:00 For filtering purposes, the exact provided time will be considered: YYYY-MM-DDTHH:MM:SS-ZZ:00 (UTC-Z)
This is also an optional parameter that can be used to filter the data end date. It must be sent in one of the following formats:
- YYYY-MM-DD For filtering purposes, the following time will be considered: YYYY-MM-DDT00:00:00-03:00 (UTC-3)
- YYYY-MM-DDTHH:MM:SS For filtering purposes, the following time will be considered: YYYY-MM-DDTHH:MM:SS-03:00 (UTC-3)
- YYYY-MM-DDTHH:MM:SS-ZZ:00 For filtering purposes, the exact provided time will be considered: YYYY-MM-DDTHH:MM:SS-ZZ:00 (UTC-Z)
- When both start_date and end_date are used, date_time will be between these two dates, as follows: end_data >= datetime >= start_date
- When neither start_date nor end_date is used, the last 24 hours from the current moment will be requested by default
- When only start_date is used, end_date will be considered, by default, as start_date plus 24 hours
- When only end_date is used, start_date will be considered, by default, as end_date minus 24 hours
- The minimum value for start_date is the current moment minus seven days
- The maximum value for end_date is the current moment
- The difference between start_date and end_date must be at most 24 hours
Response
The vehicle’s unique identification number.
The date and time of the data record [YYYY-MM-DD HH:MM:SS].
Indicates when a data point was considered erroneous and was corrected, including the data point involved, the original value, and the error type.