- 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
- Checklist
bound driver with imei
POST
https://cgv-prd-trackings-api.contele.io/api/v1/bound-driver
bounds
Última modificação:2024-11-19 20:38:26
Requisição
Parâmetros Header
x-api-key
string
requerido
Padrão:
{{api_key}}
Parâmetros Bodyapplication/json
bounds_drivers
array[object (bound_driver) {4}]
requerido
driver_id
string
requerido
imei
string
requerido
start_bound_date
string
requerido
Exemplo:
2023-03-16 14:26:27
Padrão de combinação:
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
type_attachment
string
opcional
Padrão:
app
Exemplo
{
"bounds_drivers": [
{
"driver_id": "string",
"imei": "string",
"start_bound_date": "2023-03-16 14:26:27",
"type_attachment": "app"
}
]
}
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 POST 'https://cgv-prd-trackings-api.contele.io/api/v1/bound-driver' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"bounds_drivers": [
{
"driver_id": "string",
"imei": "string",
"start_bound_date": "2023-03-16 14:26:27",
"type_attachment": "app"
}
]
}'
Respostas
🟢201Criado
application/json
Body
object {0}
Exemplo
{}
Modificado em 2024-11-19 20:38:26