update planned route
PUT
/update-planned-routeRequisição
[message.bodyParameter]application/json
planned_route_id
string
required
route_name
string
required
calculated_header
object
required
dead_distance_route_in_meters
number
required
dead_time_route_in_seconds
number
required
total_distance_route_in_meters
number
required
total_time_route_in_seconds
number
required
dead_start_distance_route_in_meters
number
required
dead_start_time_route_in_seconds
number
required
dead_end_time_route_in_seconds
number
required
dead_end_distance_route_in_meters
number
required
bound_configurations
object
required
selected_vehicle
number
required
selected_driver
number
required
route_configurations
object
required
includes_initial_and_final_stop
boolean
required
stop_points
array [object {8}]
required
dead_start_route_linestring
array [object {2}]
required
dead_end_route_linestring
array [object {2}]
required
productive_route_linestring
array [object {2}]
required
[api.label.example]
{
"planned_route_id": "string",
"route_name": "string",
"calculated_header": {
"dead_distance_route_in_meters": 0,
"dead_time_route_in_seconds": 0,
"total_distance_route_in_meters": 0,
"total_time_route_in_seconds": 0,
"dead_start_distance_route_in_meters": 0,
"dead_start_time_route_in_seconds": 0,
"dead_end_time_route_in_seconds": 0,
"dead_end_distance_route_in_meters": 0
},
"bound_configurations": {
"selected_vehicle": 0,
"selected_driver": 0
},
"route_configurations": {
"includes_initial_and_final_stop": true,
"stop_points": [
{
"stop_point_name": "string",
"stop_point_type": "string",
"stop_point_order": 0,
"place_holder": "string",
"stop_point_full_address_name": "string",
"stop_point_hour": "string",
"stop_point_latitude": 0,
"stop_point_longitude": 0
}
],
"dead_start_route_linestring": [
{
"lat": 0,
"lng": 0
}
],
"dead_end_route_linestring": [
{
"lat": 0,
"lng": 0
}
],
"productive_route_linestring": [
{
"lat": 0,
"lng": 0
}
]
}
}
Exemplos de Requisição
[api.label.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
[response.label.jsonSchema]
object {0}
[api.label.example]
[app.settings.hasNoSetting]
[updatedIn] a month ago