B2B Gateway
- B2B Gateway
- All Products
/public/core/v3/schedule
/public/core/v3/schedule/<id>
/public/core/v3/schedule?q=status=='Disabled' and createdBy=='jdoe'
Parameter
| Type
| Description
|
---|---|---|
status
| Boolean
| Status of the schedule.
You can use the following operators:
|
id
| String
| Schedule ID.
Use the == operator.
|
scheduleFederatedId
| String
| Global unique identifier for the schedule.
Use the == operator.
|
name
| String
| Schedule name.
Use the == operator.
If the schedule name includes a space, replace the space with
%20
|
updateTime
| Date
| Last time the schedule was updated, in UTC format.
You can use the following operators:
|
updatedBy
| String
| User who updated the schedule.
Use the == operator.
|
createdBy
| String
| User who created the schedule.
Use the == operator.
|
interval
| String
| Interval or repeat frequency at which the schedule runs. You can use the following values:
You can use the following operators:
|
Field
| Type
| Description
|
---|---|---|
id
| String
| Schedule ID.
|
scheduleFederatedId
| String
| Global unique identifier for the schedule.
|
name
| String
| Schedule name.
|
status
| String
| Status of the schedule. Returns one of the following values:
|
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, in UTC format.
|
endTime
| Date/time
| Date and time when the schedule stops running.
|
interval
| String
| Interval or repeat frequency at which the schedule runs tasks. 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 the Daily interval only.
|
dayOfMonth
| Int
| Date of the month that tasks run. Returns a date between 1-28.
Returned for the Monthly interval only.
|
weekOfMonth
| String
| Week of the month that tasks run. Returns one of the following codes:
Returned for the Monthly interval only.
|
dayOfWeek
| String
| Day of the week that tasks run. Returns one of the following codes:
Returned for the Monthly interval only.
|
timeZoneId
| String
| Time zone used for the day of the week, day of the month, or week of the month that the tasks run.
|
GET <baseApiUrl>/public/core/v3/schedule/0An1v84VPL3k6kypOlxq06D0000000000003 Accept: application/json INFA-SESSION-ID: <sessionId>
{ "id": "0An1v84VPL3k6kypOlxq06D0000000000003", "scheduleFederatedId" : "24bDtKg6d9SbaNlqDolHSR", "name": "MI_FILE_LISTENER_10107", "status":"enabled", "createTime": "2018-12-03T17:34:45.000Z", "updateTime": "2019-05-09T12:13:34.000Z", "createdBy": "clouddemo", "updatedBy": "vnath", "startTime": "2020-06-09T00:15:55.000Z", "interval": "Minutely", "frequency": 5, "rangeStartTime" : "", "rangeEndTime" : "", "mon": true, "tue": true, "wed": true, "thu": true, "fri": true, "sat": true, "sun": true, "weekDay": false, "dayOfMonth": 0, "weekOfMonth": null, "dayOfWeek": null, "timeZoneId": "America/Los Angeles" }