- Introdução a API
- Rotas
- Introdução a API Trackings
- Endpoints
- others
- reports
- bounds
- driver
- migration
- last-tracking
- planned-route
- new-planned-route
- vehicles
- trackings
- tracker
- Abastecimentos
- Multas
- Manutenção
- others
- Maintenance
- Planning Plan
- Maintenance Dashboard
- Mapa
- Ultimos Pontos (Last Points)
- lastbreakroutepoint
get driver by a given date
GET
https://cgv-prd-trackings-api.contele.io/api/v1/find-driver-of-vehicle-by-date
driver
Last modified:2024-11-19 20:38:26
Requisição
Parâmetros Query
date
string
requerido
imei
string
requerido
vehicle_id
string
requerido
Parâmetros Header
x-api-key
string
requerido
Padrão:
{{api_key}}
Exemplos de Requisição
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://cgv-prd-trackings-api.contele.io/api/v1/find-driver-of-vehicle-by-date?date&imei&vehicle_id' \
--header 'x-api-key;'
Respostas
🟢200OK
application/json
Body
route
object (routes_reports_imei_body)
opcional
report_route
object
requerido
trackings
array [object {13}]
requerido
driver
object (driver)
opcional
id
number
opcional
name
string
opcional
nickname
string
opcional
phone
string
opcional
code
string
opcional
status
number
opcional
driver_license
string
opcional
expire_driver_license
string
opcional
identification_driver_key
string
opcional
organization_id
number
opcional
Exemplo
{
"route": {
"report_route": {
"average_speed": "string",
"cost": 0,
"distance": 0,
"end_date": "string",
"end_lat": 0,
"end_lng": 0,
"max_speed": 0,
"start_date": "string",
"start_lat": 0,
"start_lng": 0,
"start_odometer": 0,
"end_odometer": 0,
"time": 0,
"before_tracking_timestamp": "string"
},
"trackings": [
{
"command": "string",
"serial_number": "string",
"lat": 0,
"lng": 0,
"timestamp": "string",
"speed": 0,
"odometer": 0,
"is_datalogger": true,
"ignition": 0,
"packet_number": "string",
"server_time": "string",
"send_time": "string",
"sensor": "string"
}
]
},
"driver": {
"id": 0,
"name": "string",
"nickname": "string",
"phone": "string",
"code": "string",
"status": 0,
"driver_license": "string",
"expire_driver_license": "string",
"identification_driver_key": "string",
"organization_id": 0
}
}
Modified at 2024-11-19 20:38:26