Restore deleted shift occurrences
xmatters_restore_deleted_shift_occurrencesRestore deleted shift occurrences for a group and shift by providing start and end dates with explicit confirmation.
Instructions
Restore deleted shift occurrences. POST /api/xm/1/groups/{groupID}/shifts/{shiftID}/occurrences. The definition and cURL request use /occurrences; a sample response self link says exclusionss and is not adopted. See C11. Body fields: startDate, endDate. Reference: https://help.xmatters.com/xmapi/#restore-deleted-shift-occurrences Requires operator write opt-in and confirm:true; may notify recipients or change tenant data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Complete API JSON payload (including nested fields). See https://help.xmatters.com/xmapi/#restore-deleted-shift-occurrences | |
| path | Yes | ||
| query | No | API query parameters; arrays are comma-joined. Documented names: none. Pagination is explicit using offset and limit; results are not automatically combined. | |
| confirm | Yes | Explicit approval of this exact mutation. Operator must also enable XMATTERS_ALLOW_WRITES. |