Trying to fetch agent state history for the last 24 hours using the CXone Reporting API v2. The OData endpoint seems flaky with long date ranges. I’m constructing a GET request to /api/v2/reporting/agents/summary with $filter=stateTimestamp ge 2023-10-25T12:00:00Z, but hitting a 400 Bad Request on the filter syntax. The docs are vague on exact ISO 8601 requirements for this specific resource. Here’s the failing curl snippet:
curl -X GET "https://api.nice.incontact.com/apis/2.0/reporting/agents/summary?$filter=stateTimestamp%20ge%202023-10-25T12:00:00Z"
Getting Invalid filter clause. Anyone got this working?