edit routes
PUT
/edit-realized-routesRequisição
Body Params application/json
summary_route_id
string <uuid>
required
>= 1 characters<= 36 characters
planned_route_id
string <uuid>
required
>= 1 characters<= 36 characters
route_date
string
optional
Example:
2020-01-01
Match pattern:
^\d{4}-\d{2}-\d{2}$
plate_number
string
optional
>= 7 characters<= 8 characters
Example:
ABC-1234
driver_identification
string
optional
start_hour
string
optional
>= 1 characters
Example:
00:00
Match pattern:
^\d{2}:\d{2}$
end_hour
string
optional
>= 1 characters
Example:
00:00
Match pattern:
^\d{2}:\d{2}$
dead_start_hour
string
optional
>= 1 characters
Example:
00:00
Match pattern:
^\d{2}:\d{2}$
dead_end_hour
string
optional
>= 1 characters
Example:
00:00
Match pattern:
^\d{2}:\d{2}$
vehicle_id
number
optional
driver_id
number
optional
update_points
boolean
optional
Default:
false
Example
{
"summary_route_id": "b3a280e5-195e-4381-afbf-904b1c2f17c8",
"planned_route_id": "237b4661-ddbe-4fb8-85d6-bc1588f0c0d1",
"route_date": "2020-01-01",
"plate_number": "ABC-1234",
"driver_identification": "string",
"start_hour": "00:00",
"end_hour": "00:00",
"dead_start_hour": "00:00",
"dead_end_hour": "00:00",
"vehicle_id": 0,
"driver_id": 0,
"update_points": false
}
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