Update Schedule Rotation
Update the participants and time restrictions of a specific schedule rotation.
Make sure that the API key that's used to create the Opsgenie connection for this card is not team-specific. Otherwise, any input value in the Team ID or Team Name fields on this card will not override the team that's specified by a team-specific API key. It is recommended to create and manage API keys on the Opsgenie API key management page.
Options
Field | Definition | Type | Required |
---|---|---|---|
Schedule Identifier | Type of schedule identifier for the team. Choose one of the following options:
|
Dropdown |
TRUE |
Update Time Restriction? | Specify if time restriction is updated. Choose one of the following options:
|
Dropdown |
TRUE |
Input
These fields are dynamically generated based on the fields selected in Options.
Field | Definition | Type | Required |
---|---|---|---|
Rotation |
|||
Schedule ID | Unique ID of the schedule.
This field displays when Schedule ID is selected from Schedule Identifier options. |
Text |
TRUE |
Schedule Name | Name of the schedule.
This field displays when Schedule Name is selected from Schedule Identifier option. |
Text |
TRUE |
Rotation ID | Unique ID of schedule rotation. |
Text |
TRUE |
Name | Name of the rotation. |
Text |
FALSE |
Start Date | Start date of the rotation. Date format as yyyy-MM-dd'T'HH:mm:ssZ (for example, 2017-01-15T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically. |
Date & Time |
FALSE |
End Date | End date of the rotation. Date format as yyyy-MM-dd'T'HH:mm:ssZ (for example, 2017-01-15T08:00:00+02:00) Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically. |
Date & Time |
FALSE |
Type |
Duration of rotation. Choose one of the following options:
|
Dropdown |
FALSE |
Length | Length of the rotation. Default value is 1. |
Number |
FALSE |
Merge Participants? | Indicates whether to merge the existing participants list with the input list. Choose one of the following options:
|
Dropdown |
FALSE |
Participants | List of escalations, teams, users or none which are used in a schedule. Each of them can be used multiple times and will be rotated in the order they are given.
For user and team, optionally define ID or username properties. For example: Copy
|
Array of Objects |
FALSE |
Time Restrictions |
Used to limit schedule rotation to a certain day and time of the week, using multiple start and end times for each day of the week. This allows for applying different scheduling rotations at different times.
This field displays when Time Only or Day and Time is selected from Update Time Restriction? in Options. |
Object |
TRUE |
When Time Only is selected for the Update Time Restrictions? field in Options, the following options are available.
Note: Hours are rounded down, and minutes are rounded to the closest 00/30. |
Number |
TRUE |
|
|
Number |
TRUE |
|
|
Number |
TRUE |
|
|
Number |
TRUE |
|
|
Number |
TRUE |
|
For example: Copy
|
|||
When >Day and Time is selected for the Update Time Restrictions? field Options, the following options are available.
Note: Both day and time options are required. |
Array of Objects |
TRUE |
|
|
Text |
TRUE |
|
|
Number |
TRUE |
|
|
Number |
TRUE |
|
|
Text |
TRUE |
|
|
Number |
TRUE |
|
|
Number |
TRUE |
|
For example: Copy
|
Output
Field | Definition | Type |
---|---|---|
Status Code |
Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:
For a full list of possible status codes, see HTTP status codes. |
Number |
Result | Result of the API call.
For example, Deleted. |
Text |