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
post https://https://api.plan.routific.com/v2/routes/publish?workspaceUuid={workspaceUuid}&date={yyyy-mm-dd}
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"
}
| Field | Type | Description |
|---|---|---|
| actionUuid | String | Unique identifier of the publishing action. Use this to check the status of the action. |
| actionName | String | Name of the action being performed. |
| status | String | Current status of the action. Possible values: pending, finished, and failed. |

