Publish routes

Publish Routes for a Specific Date

Use this endpoint to publish all available routes for a given date within a specific workspace. This is especially useful if you want to automate daily route publishing (e.g., via a scheduled job), ensuring drivers receive their routes on time every day without requiring any manual intervention from a dispatcher.

Description

This endpoint triggers the publishing of all routes for the specified date under the given workspace. Ideal for automated workflows where routes need to be published at a consistent time every day.

  • No request body is required.
    The endpoint publishes all routes for that day automatically.
  • Asynchronous operation:
    The request immediately returns an actionUuid, which can be used with the Fetch route publishing status endpoint to check the status of the publishing process.

Request URL

📘

Finding your workspaceUuid

You can find the workspaceUuid by using the Fetch workspaces endpoint

Request Payload

//none

Response Payload

{
    "actionUuid": "a86d14c9-3b23-4781-8e1c-4de5e54a7535",
    "actionName": "publish",
    "status": "pending"
}
FieldTypeDescription
actionUuidStringUnique identifier of the publishing action. Use this to check the status of the action.
actionNameStringName of the action being performed.
statusStringCurrent status of the action. Possible values: pending, finished, and failed.