Create Schedule

post

[host-url]/dt-rest/v2/schedules

Creates a new schedule for a job or an executable design object. The details of the schedule, including the target object, recurrence, and variables, should be provided in the request body.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Match All
Represents a job schedule with additional information.
Show Source
Example:
{
    "name":"your_schedule_name",
    "status":"ACTIVE_FOR_PERIOD",
    "designObjectType":"Data Flow",
    "designObjectId":"c589c90f-0fab-40fc-b45a-401cff663556",
    "activeEndDate":"2025-12-19T11:39:00",
    "activeFromDate":"2025-08-18T11:39:23",
    "dailyActivationTimeRange":"T11:39:23 T23:39:00",
    "excludeWeekDays":"TUESDAY,SUNDAY",
    "excludeMonthDays":"",
    "maxDuration":"2 MINUTE",
    "numberOfAttemptsAfterFailures":0,
    "recurrence":"SIMPLE 2025-03-14T17:25:00",
    "repetition":"None"
}
Nested Schema : JobScheduleBaseDTO
Type: object
Represents a job schedule with basic information.
Show Source
Nested Schema : type
Type: object
Represents a job schedule with additional information.
Show Source
Nested Schema : repetitionParams
Type: object
Complex object: RepetitionDTO
Nested Schema : variables
Type: array
Show Source
Nested Schema : items
Type: object
Complex object: ScenarioVariableDTO
Back to Top

Response

Supported Media Types

200 Response

A Response object containing the created schedule.
Body ()
Root Schema : schema
Match All
Represents a job schedule with additional information.
Show Source
Example:
{
    "name":"your_schedule_name",
    "status":"ACTIVE_FOR_PERIOD",
    "designObjectType":"Data Flow",
    "designObjectId":"c589c90f-0fab-40fc-b45a-401cff663556",
    "activeEndDate":"2025-12-19T11:39:00",
    "activeFromDate":"2025-08-18T11:39:23",
    "dailyActivationTimeRange":"T11:39:23 T23:39:00",
    "excludeWeekDays":"TUESDAY,SUNDAY",
    "excludeMonthDays":"",
    "maxDuration":"2 MINUTE",
    "numberOfAttemptsAfterFailures":0,
    "recurrence":"SIMPLE 2025-03-14T17:25:00",
    "repetition":"None"
}
Nested Schema : JobScheduleBaseDTO
Type: object
Represents a job schedule with basic information.
Show Source
Nested Schema : type
Type: object
Represents a job schedule with additional information.
Show Source
Nested Schema : repetitionParams
Type: object
Complex object: RepetitionDTO
Nested Schema : variables
Type: array
Show Source
Nested Schema : items
Type: object
Complex object: ScenarioVariableDTO

401 Response

Unauthorized

403 Response

Forbidden

404 Response

Not Found

409 Response

Conflict
Back to Top