Create Route

post/routes

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/routes
  • Auth
    API key in header x-api-key

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"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.