- 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
get detailed planned route
GET
https://cgv-prd-trackings-api.contele.io/api/v1/detailed-planned-route
planned-route
Last modified:2024-11-19 20:38:26
Requisição
Parâmetros Query
summary_route_id
string <uuid>
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/detailed-planned-route?summary_route_id' \
--header 'x-api-key;'
Respostas
🟢200OK
application/json
Body
planned_route_id
string
opcional
summary_route_id
string
opcional
route_name
string
opcional
planned_start_hour
string
opcional
planned_end_hour
string
opcional
stop_counts
integer <int32>
opcional
planned_productive_km
number <float>
opcional
planned_dead_start_km
number <float>
opcional
planned_dead_end_km
number <float>
opcional
planned_driver_id
integer <int32>
opcional
planned_vehicle_id
integer <int32>
opcional
activity
string
opcional
organization_id
integer <int32>
opcional
route_day
string
opcional
realized_start_hour
string
opcional
realized_end_hour
string
opcional
realized_productive_km
number <float>
opcional
realized_dead_start_km
number <float>
opcional
realized_dead_end_km
number <float>
opcional
realized_driver_id
integer <int32>
opcional
realized_vehicle_id
integer <int32>
opcional
stops
array [object {3}]
opcional
name
string
opcional
description
string
opcional
position
array [array]
opcional
planned_route_points
array [array]
opcional
number <float>
opcional
realized_route_points
object
opcional
dead_start_km_points
array[object (big_query_point) {19}]
opcional
productive_km_points
array[object (big_query_point) {19}]
opcional
dead_end_km_points
array[object (big_query_point) {19}]
opcional
Exemplo
{
"planned_route_id": "string",
"summary_route_id": "string",
"route_name": "string",
"planned_start_hour": "string",
"planned_end_hour": "string",
"stop_counts": 0,
"planned_productive_km": 0,
"planned_dead_start_km": 0,
"planned_dead_end_km": 0,
"planned_driver_id": 0,
"planned_vehicle_id": 0,
"activity": "string",
"organization_id": 0,
"route_day": "string",
"realized_start_hour": "string",
"realized_end_hour": "string",
"realized_productive_km": 0,
"realized_dead_start_km": 0,
"realized_dead_end_km": 0,
"realized_driver_id": 0,
"realized_vehicle_id": 0,
"stops": [
{
"name": "string",
"description": "string",
"position": [
[
0
]
]
}
],
"planned_route_points": [
[
0
]
],
"realized_route_points": {
"dead_start_km_points": [
{
"command": "string",
"devicetype": 0,
"hourmeter": 0,
"idle": 0,
"ignition": 0,
"lat": 0,
"lng": 0,
"odometer": 0,
"packet_number": 0,
"real_speed": 0,
"rele": 0,
"send_time": "2019-08-24T14:15:22Z",
"sensor": 0,
"serial_number": "string",
"server_time": "2019-08-24T14:15:22Z",
"speed": 0,
"timestamp": "2019-08-24T14:15:22Z",
"tracker_odometer_in_meters": 0,
"vehicle_odometer_in_meters": 0
}
],
"productive_km_points": [
{
"command": "string",
"devicetype": 0,
"hourmeter": 0,
"idle": 0,
"ignition": 0,
"lat": 0,
"lng": 0,
"odometer": 0,
"packet_number": 0,
"real_speed": 0,
"rele": 0,
"send_time": "2019-08-24T14:15:22Z",
"sensor": 0,
"serial_number": "string",
"server_time": "2019-08-24T14:15:22Z",
"speed": 0,
"timestamp": "2019-08-24T14:15:22Z",
"tracker_odometer_in_meters": 0,
"vehicle_odometer_in_meters": 0
}
],
"dead_end_km_points": [
{
"command": "string",
"devicetype": 0,
"hourmeter": 0,
"idle": 0,
"ignition": 0,
"lat": 0,
"lng": 0,
"odometer": 0,
"packet_number": 0,
"real_speed": 0,
"rele": 0,
"send_time": "2019-08-24T14:15:22Z",
"sensor": 0,
"serial_number": "string",
"server_time": "2019-08-24T14:15:22Z",
"speed": 0,
"timestamp": "2019-08-24T14:15:22Z",
"tracker_odometer_in_meters": 0,
"vehicle_odometer_in_meters": 0
}
]
}
}
🟠400Pedido inválido
🟠401Não autorizado
🟠403Proibido
🟠404Registro não encontrado
🔴500Erro do servidor
Modified at 2024-11-19 20:38:26