Schedules

Update schedule

Changed on

Update the specified task, whether it delivers a dashboard or a tab of a workbook. Changes to the schedule are applied to future runs. Currently running jobs are not affected.

<Note> A schedule's `entity` (dashboard or workbook) is set when the schedule is created and can't change. If the request body includes an `entity` value, it has no effect. </Note> <Warning> This endpoint replaces the schedule's entire configuration — it is not a partial update. The request must include every required field for the destination type. Any optional property left out of the request is reset to its default, not left at its current value. This includes `filterConfig` (filter values are cleared), `fanOut` (treated as `false`, unless your organization's [delivery personalization setting](/administration/content-permissions#delivery-personalization) is set to **Always**), `conditionType` and `conditionQueryMapKey` (the alert condition is removed), `queryIdentifierMapKey`, `containerPages` (selected pages are cleared), `maxRowLimit`, `textBody`, `filename`, and the paper and layout options.

The one exception is timezoneOverride: it keeps its current value when omitted, but only if query timezone overrides are enabled for the connection or document. Otherwise, it's cleared.

To change a single property, send the schedule's full configuration with that property changed. </Warning>

put/v1/schedules/{scheduleId}

Request

  • Base URL
    https://blobsrus.omniapp.co/api
  • URL
    https://blobsrus.omniapp.co/api/v1/schedules/{scheduleId}
  • Auth
    HTTP bearer

Path parameters

scheduleIdstring uuid required

The ID of the schedule. To find a schedule's ID:

  1. Navigate to the dashboard or workbook.
  2. Click File > Deliveries & Alerts.
  3. Next to a schedule, click Edit.

The schedule's ID is in the page's URL, after /schedules/. For example, the schedule ID in this URL is 123e4567-e89b-12d3-a456-426614174000:

https://blobsrus.omniapp.co/dashboards/e23ebaa0/schedules/123e4567-e89b-12d3-a456-426614174000

Request body

OR
OR
OR
OR

Example request

{
  "name": "Weekly Sales Report",
  "schedule": "0 9 ? * MON *",
  "timezone": "America/New_York",
  "timezoneOverride": "Europe/Paris",
  "conditionQueryMapKey": "Jmn2r3KV",
  "conditionType": "RESULTS_PRESENT",
  "enableConditionalFormatting": true,
  "filterConfig": {
    "status": [
      "active",
      "pending"
    ]
  },
  "format": "pdf",
  "maxRowLimit": 1000,
  "paperFormat": "letter",
  "paperOrientation": "landscape",
  "queryIdentifierMapKey": "Jmn2r3KV",
  "containerPages": [
    "01KXH5TG58BB5JBJHGTPC62RZA"
  ],
  "showContentLink": true,
  "showFilters": true,
  "destinationType": "email",
  "filename": "weekly-sales-report",
  "subject": "Weekly Sales Report",
  "textBody": "Please find attached the weekly sales report."
}

Response

Schedule updated successfully

scheduledTaskIdstring uuid required

The UUID of the updated scheduled task.

successboolean required

Whether the operation was successful.

Example response

{
  "scheduledTaskId": "123e4567-e89b-12d3-a456-426614174000",
  "success": true
}

Changes

    • breaking

      added required request body

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status