Update Route Details

put/routes/{route_uid}

Request

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

Path parameters

route_uidstring required

Request body

route_namestring
colorstring
departurestring date
durationinteger
enable_trafficboolean
route_type'FASTEST' | 'SHORTEST'
route_descriptionstring
transport_mode''

CAR, TRUCK, PEDESTRIAN

can_reschedule_jobboolean

Response

200

typestring
messagestring
titlestring
job_route_uidstring

Example response

{
  "type": "success",
  "message": "Job route updated successfully",
  "title": "Job route updated successfully",
  "job_route_uid": "1dcde262-1de0-4d8d-bb93-27e93ff53d54"
}

Changes

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