api:tools:scheduledjobs:preview
Table of Contents
API : Tools: Scheduled jobs : Preview
Introduction
Resolves the next five occurrences of a recurrence without creating anything. The admin UI uses this to show what a schedule actually means before it is saved.
Request
| URL | https://api.telecomx.dk/tools/scheduledjobs/preview | ||
|---|---|---|---|
| Method | POST | ||
| Access level | Admin | ||
Body
| Field | Type | Required | Description |
|---|---|---|---|
| recurrence | Object | Yes | Recurrence settings, see Recurrence. |
Query example
https://api.telecomx.dk/tools/scheduledjobs/preview
Response
{ "runs": [ "2026-08-27T01:05:00.000Z", "2026-08-28T01:05:00.000Z", "2026-08-29T01:05:00.000Z", "2026-08-30T01:05:00.000Z", "2026-08-31T01:05:00.000Z" ] }
Note that 03:05 Copenhagen time resolves to 01:05Z in summer and 02:05Z in winter.
Errors
| Error code | Message | Description |
|---|---|---|
| 400 | invalid_data | A field is missing or out of range |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/tools/scheduledjobs/preview.txt · Last modified: by Per Møller
