Get shift occurrences
xmatters_get_shift_occurrencesFetch shift occurrences for a group to see scheduled on-call shifts within a specified time range. Use query parameters to filter by shifts and control pagination.
Instructions
Get shift occurrences. GET /api/xm/1/groups/{groupId}/occurrences. The last definition example has /occurrences/shifts=...; shifts is a query parameter, not a path component. The shared URL PARAMETERS table includes both path and query parameters. See C03. Body fields: none. Reference: https://help.xmatters.com/xmapi/#get-shift-occurrences
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | No | API query parameters; arrays are comma-joined. Documented names: embed, from, to, shifts, offset, limit. Pagination is explicit using offset and limit; results are not automatically combined. |