edit planned routes
PUT
/edit-planned-routesRequisição
Body Params application/json
planned_route_id
string <uuid>
required
>= 1 characters<= 36 characters
route_name
string
required
>= 1 characters<= 100 characters
planned_start_hour
string
optional
>= 1 characters
Example:
00:00
Match pattern:
^\d{2}:\d{2}$
planned_end_hour
string
optional
>= 1 characters
Example:
00:00
Match pattern:
^\d{2}:\d{2}$
planned_vehicle_id
number
optional
planned_driver_id
number
optional
planned_dead_start_hour
string
optional
>= 1 characters
Example:
00:00
Match pattern:
^\d{2}:\d{2}$
planned_dead_end_hour
string
optional
>= 1 characters
Example:
00:00
Match pattern:
^\d{2}:\d{2}$
activity
string
optional
>= 1 characters<= 100 characters
Example
{
"planned_route_id": "237b4661-ddbe-4fb8-85d6-bc1588f0c0d1",
"route_name": "string",
"planned_start_hour": "00:00",
"planned_end_hour": "00:00",
"planned_vehicle_id": 0,
"planned_driver_id": 0,
"planned_dead_start_hour": "00:00",
"planned_dead_end_hour": "00:00",
"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