External DocumentationTo learn more, visit the PagerDuty documentation.
Basic Parameters
| Parameter | Description |
|---|---|
| Schedule Description | The description of the schedule. |
| Schedule Layers | A list of schedule layers. An array of schedule layers containing the following format: - id: - start:This field is required. - end:The end time of this layer. If null, the layer does not end. - usersThe ordered list of users on this layer. The position of the user on the list determines their order in the layer. This field is required. - restrictions:An array of restrictions for the layer. A restriction is a limit on which period of the day or week the schedule layer can accept assignments. Restrictions respect the time_zone parameter of the request. - rotation_virtual_start:The effective start time of the layer. This can be before the start time of the schedule. This field is required. - rotation_turn_length_seconds:The duration of each on-call shift in seconds. This field is required. - name:The name of the schedule layer. |
| Schedule Name | The name of the schedule. |
| Schedule Time Zone | The time zone of the schedule. |
Advanced Parameters
| Parameter | Description |
|---|---|
| Final Schedule Name | The name of the subschedule. |
| Final Schedule Rendered Coverage Percentage | The percentage of the time range covered by this layer. Returns null unless since or until are set. |
| Final Schedule Rendered Schedule Entries | This is a list of entries on the computed layer for the current time range. Since or until must be set in order for this field to be populated. |
| Overflow | Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter overflow=true is passed. This parameter defaults to false.For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from 2011-06-01T10:00:00Z to 2011-06-01T14:00:00Z:- If you don’t pass the overflow=true parameter, you will get one schedule entry returned with a start of 2011-06-01T10:00:00Z and end of 2011-06-01T14:00:00Z.- If you do pass the overflow=true parameter, you will get one schedule entry returned with a start of 2011-06-01T00:00:00Z and end of 2011-06-02T00:00:00Z. |
| Overrides Subschedule Name | The name of the subschedule. |
| Overrides Subschedule Rendered Coverage Percentage | The percentage of the time range covered by this layer. Returns null unless since or until are set. |
| Overrides Subschedule Rendered Schedule Entries | This is a list of entries on the computed layer for the current time range. Since or until must be set in order for this field to be populated. |