Create schedule
Changed onCreate a scheduled delivery of a document's dashboard, or of one workbook tab with entity: workbook. Required fields vary by entity and by destinationType (email, webhook, sftp, slack). For org API keys, use the userId query parameter to create the schedule on behalf of a specific user.
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/schedules
- AuthHTTP bearer
Query parameters
User ID of the user who should own the schedule (org API keys only). The user must be able to view and schedule the document. If not provided, the schedule is owned by the API key owner. User-scoped API keys cannot use this parameter.
Request body
Example request
{
"name": "Weekly Sales Report",
"schedule": "0 9 ? * MON *",
"timezone": "America/New_York",
"timezoneOverride": "Europe/Paris",
"entity": "dashboard",
"identifier": "12db1a0a",
"conditionQueryMapKey": "Jmn2r3KV",
"conditionType": "RESULTS_PRESENT",
"containerPages": [
"page_abc123"
],
"enableConditionalFormatting": true,
"filterConfig": {
"status": [
"active",
"pending"
]
},
"format": "pdf",
"maxRowLimit": 1000,
"paperFormat": "letter",
"paperOrientation": "landscape",
"queryIdentifierMapKey": "Jmn2r3KV",
"showContentLink": true,
"showFilters": true,
"destinationType": "email",
"filename": "weekly-sales-report",
"subject": "Weekly Sales Report",
"textBody": "Please find attached the weekly sales report."
}Response
Schedule created successfully
Example response
{
"delivererRoleArn": "arn:aws:iam::529831494235:role/OmniSchedulerDelivererRole",
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"message": "Successfully created schedule"
}Changes
- info
added the new optional request property
// - info
added the new optional request property
//
- info
- breaking
added
subschema #1subschema #2to the request bodyallOflist - breaking
request body became required
- breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- breaking