zendesk_wfm_fetch_shifts
Retrieve workforce management shifts for specified agents between two dates. Filter by publication status and paginate results.
Instructions
Fetch WFM shifts for specified agents within a date range. Supports filtering by publication status and pagination. Requires ZENDESK_WFM_API_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentIds | Yes | Array of agent IDs to fetch shifts for | |
| startDate | Yes | Start date in ISO format (required) | |
| endDate | Yes | End date in ISO format (required) | |
| orderBy | No | Field to order results by | |
| orderDirection | No | Order direction | |
| published | No | Filter by publication status | |
| page | No | Page number for pagination | |
| pageSize | No | Number of items per page |