- Introdução a API
- Rotas
- Abastecimentos
- Multas
- Manutenção
- others
- Maintenance
- Planning Plan
- Maintenance Dashboard
- Mapa
- Ultimos Pontos (Last Points)
- lastbreakroutepoint
list vehicles in plan
GET
https://cgv-prd-maintenance-api.contele.io/api/v1/list_plan_vehicles
Planning Plan
Last modified:2024-11-28 19:41:15
Requisição
Parâmetros Query
plan_id
string
requerido
search_term
string
opcional
per_page
number
opcional
Padrão:
15
page
number
opcional
Padrão:
0
sort
string
opcional
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-maintenance-api.contele.io/api/v1/list_plan_vehicles?plan_id' \
--header 'x-api-key;'
Respostas
🟢200OK
application/json
Body
vehicles_plans
array [object {26}]
opcional
id
integer
opcional
status
integer
opcional
organization_id
integer
opcional
type_vehicle_id
integer
opcional
type_fuel_id
integer
opcional
vehicle_id
integer
requerido
name
string
opcional
model
string
opcional
plate_number
string
opcional
tank_capacity
integer
opcional
odometer
integer
opcional
liters_value
number
opcional
average_fuel_km
number
opcional
stage_vehicle_id
integer
opcional
year_manufacturer
integer
opcional
manufacturer
string
opcional
serial_number
string
opcional
type_tracker_id
integer
opcional
hourmeter
integer
opcional
type_vehicle_name
string
opcional
type_fuel_name
string
opcional
stage_name
string
opcional
vehicle_driver_id
integer
opcional
email
array[string]
opcional
last_maintenance
object
opcional
created_at
string
opcional
total_vehicle_plans
integer
opcional
Exemplo
{
"vehicles_plans": [
{
"id": 0,
"status": 0,
"organization_id": 0,
"type_vehicle_id": 0,
"type_fuel_id": 0,
"vehicle_id": 0,
"name": "string",
"model": "string",
"plate_number": "string",
"tank_capacity": 0,
"odometer": 0,
"liters_value": 0,
"average_fuel_km": 0,
"stage_vehicle_id": 0,
"year_manufacturer": 0,
"manufacturer": "string",
"serial_number": "string",
"type_tracker_id": 0,
"hourmeter": 0,
"type_vehicle_name": "string",
"type_fuel_name": "string",
"stage_name": "string",
"vehicle_driver_id": 0,
"email": [
"string"
],
"last_maintenance": {
"last_datetime": "string",
"last_odometer": 0
},
"created_at": "string"
}
],
"total_vehicle_plans": 0
}
Modified at 2024-11-28 19:41:15