Administrator
- Administrator
- All Products
/api/v2/schedule
/api/v2/schedule/<id>
If you use the schedule name in the URI and the schedule name includes a space, replace the space with/api/v2/schedule/name/<name>
/api/v2/schedule/name/my%20schedule
Field
| Type
| Description
|
---|---|---|
id
| String
| Schedule ID.
|
orgId
| String
| Organization ID.
|
name
| String
| Schedule name.
|
description
| String
| Description of the schedule.
|
createTime
| Date/time
| Time the schedule was created.
|
updateTime
| Date/time
| Last time the schedule was updated.
|
createdBy
| String
| User who created the schedule.
|
updatedBy
| String
| User who last updated the schedule.
|
startTime
| Date/time
| Date and time when the schedule starts running.
|
startTimeUTC
| Date/time
| Date and time when the schedule starts running the tasks. Uses Coordinated Universal Time (UTC).
|
endTime
| Date/time
| Date and time when the schedule stops running .
|
interval
| String
| Interval or repeat frequency at which the schedule runs. Returns one of the following codes:
|
frequency
| Int
| Frequency that the schedule runs for the specified interval. For example, if the interval is Hourly, a frequency of 2 means the task runs every 2 hours.
Returned for Minutely, Hourly, and Daily intervals only.
|
rangeStartTime
| Date/time
| The start of the time range within a day that tasks run.
Returned for Minutely and Hourly intervals only.
|
rangeEndTime
| Date/time
| The end of the time range within a day that tasks run.
Returned for Minutely and Hourly intervals only.
|
sun
| Boolean
| Tasks run on Sunday.
Returns one of the following codes:
Returned for Minutely, Hourly, Weekly, and Biweekly intervals only.
|
mon
| Boolean
| Tasks run on Monday.
See description for sun.
|
tue
| Boolean
| Tasks run on Tuesday.
See description for sun.
|
wed
| Boolean
| Tasks run on Wednesday.
See description for sun.
|
thu
| Boolean
| Tasks run on Thursday.
See description for sun.
|
fri
| Boolean
| Tasks run on Friday.
See description for sun.
|
sat
| Boolean
| Tasks run on Saturday.
See description for sun.
|
weekDay
| Boolean
| Tasks run on weekdays only. Returns one of the following codes:
Returned for Daily interval only.
|
dayOfMonth
| Int
| Date of the month that tasks run. Returns a date between 1-28.
Returned for Monthly interval only.
|
weekOfMonth
| String
| Week of the month that tasks run. Returns one of the following codes:
Returned for Monthly interval only.
|
dayOfWeek
| String
| Day of the week that tasks run. Returns one of the following codes:
Returned for Monthly interval only.
|
timeZone
| String
| Time zone of the user who last updated the schedule. Time zone honors Daylight Saving Time.
|
/api/v2/schedule/<id>
Update-Mode=PARTIAL
Field
| Type
| Required
| Description
|
---|---|---|---|
id
| String
| Required for updates only
| Schedule ID.
|
orgId
| String
| Yes
| Organization ID.
|
name
| String
| Yes
| Schedule name.
|
description
| String
| Description of the schedule.
| |
startTime
| Date/time
| Yes
| Date and time when the schedule starts running.
|
startTimeUTC
| Date/time
| Yes
| Date and time when the schedule starts running. Uses Coordinated Universal Time (UTC).
|
endTime
| Date/time
| Date and time when the schedule stops running. If you do not use this parameter, the schedule runs indefinitely.
| |
interval
| String
| Yes
| Interval or repeat frequency at which the schedule runs. Use one of the following options:
|
frequency
| Int
| Yes
| Repeat frequency for tasks. Use one of the following values:
Use with Minutely, Hourly, and Daily intervals only.
|
rangeStartTime
| Date/time
| The start of the time range within a day that you want tasks to run. Enter a date and time using standard date/time format. Only the time portion is used.
Use with Minutely and Hourly intervals only.
| |
rangeEndTime
| Date/time
| The end of the time range within a day that you want tasks to run. Enter a date and time using standard date/time format. Only the time portion is used.
Use with Minutely and Hourly intervals only.
| |
sun
| Boolean
| Runs tasks on Sunday at the configured time.
You can use the sun - sat parameters to run tasks on several days of the week.
Use with Minutely, Hourly, Weekly, and Biweekly intervals only.
| |
mon
| Boolean
| Runs tasks on Monday at the configured time.
See description for sun.
| |
tue
| Boolean
| Runs tasks on Tuesday at the configured time.
See description for sun.
| |
wed
| Boolean
| Runs tasks on Wednesday at the configured time.
See description for sun.
| |
thu
| Boolean
| Runs tasks on Thursday at the configured time.
See description for sun.
| |
fri
| Boolean
| Runs tasks on Friday at the configured time.
See description for sun.
| |
sat
| Boolean
| Runs tasks on Saturday at the configured time.
See description for sun.
| |
weekDay
| Boolean
| Runs tasks on weekdays. Use one of the following options:
Use with the Daily interval only.
| |
dayOfMonth
| Int
| Date of the month that tasks should run. Use a date between 1-28.
Use with the Monthly interval only.
Tip: To run tasks on the last day of the month, use the Last weekOfMonth parameter with the Day dayOfWeek parameter.
| |
weekOfMonth
| String
| Week of the month that tasks should run. Use with dayOfWeek to specify the day and week of the month that tasks should run. For example, the First Day or the Last Wednesday of the month.
Use one of the following options:
Use with the Monthly interval only.
| |
dayOfWeek
| String
| Day of the week that tasks should run. Use with weekOfMonth to specify the day and week of the month that tasks should run. For example, the First Day or the Last Wednesday of the month.
Use one of the following options:
Use with the Monthly interval only.
| |
timeZone
| String
| Time zone to use for the schedule. If no valid time zone is passed,
Informatica Intelligent Cloud Services uses the user's time zone.
For more information, see Appendix A,
Time zone codes
|
/api/v2/schedule/<id>
GET <serverUrl>/api/v2/schedule Accept: application/json icSessionId: <icSessionId>