#
GPS Devices
In
This documentation helps GPS Providers to send their data to Zarv's platform.
Check here how to authenticate
#
API Fields
#
Available API Enums
#
Vehicle VIN
- The NIV - Número de Identificação do Veículo, or VIN - Vehicle Identification Number, is the universal registration system for automotive vehicles that are produced.
#
Gsm RSSI
#
Payload Example
{
"device": {
"id": "AABBBBBBCCCCCCD",
"status": "OPERATIONAL",
"gsm_signal": -72,
"gps_satellites": 8
},
"vehicle": {
"vin": "4Y1SL65848Z411430",
"license_plate": "ZRV2A23",
"behavior": "ENGINE_ON",
"engine_status": "ON",
"speed": 12,
"odometer": 124,
"battery": {
"system": 12.707,
"device": 4.166,
"device_percentage": 100
},
"location": {
"elevation": 143,
"heading": 24,
"location": [-27.607124, -48.5752832]
}
},
"received_at": "2023-01-02T12:23:02Z",
"created_at": "2023-01-02T12:23:02Z"
}
#
Responses for successful requests
Status code: 202
json#10
{
"status": "success",
"stage": "prod"
}
#
Responses for non successful requests
Status code: 400
eg.
json#10
{
"contract": "gps",
"validations": [
{
"instancePath": "/vehicle",
"schemaPath": "#/properties/vehicle/required",
"keyword": "required",
"params": {
"missingProperty": "X"
},
"message": "deve ter a propriedade obrigatória X"
}
]
}