v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Create Route

post/routes

Request body

route_namestring required
route_descriptionstring
departurestring date required
route_type'FASTEST' | 'SHORTEST' required
is_lockedboolean
transport_mode'CAR' | 'TRUCK' | 'PEDESTRIAN' required
colorstring required
durationinteger required
enable_trafficboolean

Response

200

typestring
messagestring
titlestring
job_route_uidstring

Example response

{
  "type": "success",
  "message": "Job route created successfully",
  "title": "Job route created successfully",
  "job_route_uid": "933f0174-49a1-4749-bca3-add77f863b0b"
}