create planned routes by geojson
POST
/import-planning-routesRequisição
Body Params application/json
array of:
type
string
optional
features
array [object {3}]
optional
id
string <uuid>
optional
geometry
object
optional
properties
object
optional
Example
[
{
"type": "string",
"features": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"geometry": {
"type": "string"
},
"properties": {
"name": "string",
"description": "string",
"folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
"icon-image": "string",
"line-color": "string",
"line-opacity": 0,
"line-width": 0,
"planned_vehicle_id": 0,
"planned_driver_id": 0,
"planned_start_hour": "00:00",
"planned_end_hour": "00:00",
"stop_counts": 0,
"planned_productive_km": 0,
"planned_dead_start_km": 0,
"planned_dead_end_km": 0,
"activity": "string"
}
}
]
}
]
Exemplos de Requisição
Responses
OK(200)
Pedido inválido(400)
Não autorizado(401)
Proibido(403)
Registro não encontrado(404)
Erro do servidor(500)
Código HTTP: 200
Tipo de Conteúdo: JSONapplication/json
ok
Data Schema
object {0}
Example
Not configured
Last modified: a month ago