- Introdução a API
- Rotas
- Abastecimentos
- Multas
- Manutenção
- others
- Maintenance
- Planning Plan
- Maintenance Dashboard
- Mapa
- Ultimos Pontos (Last Points)
- lastbreakroutepoint
update fuel by id
PUT
https://cgv-prd-fuels-api.contele.io/api/v1/update_fuel
fuels
Last modified:2024-12-04 18:45:25
Requisição
Parâmetros Header
x-api-key
string
requerido
Padrão:
{{api_key}}
Parâmetros Bodyapplication/json
id
number
opcional
vehicle_id
number
opcional
fuel_date
string
opcional
odometer
number
opcional
fuel_type_id
number
opcional
liters
number
opcional
lat
number
opcional
lng
number
opcional
total_value
number
opcional
liter_value
number
opcional
fully_filled
number
opcional
status
number
opcional
driver_id
number
opcional
organization_id
number
opcional
user_id
number
opcional
fuel_observation
string
opcional
Exemplo
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 PUT 'https://cgv-prd-fuels-api.contele.io/api/v1/update_fuel' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw ''
Respostas
🟢200OK
application/json
Body
object {0}
Exemplo
{}
Modified at 2024-12-04 18:45:25