We are trying to pull WEM adherence data for the last 90 days using the /api/v2/analytics/wfm/schedules/details/query endpoint. The request body exceeds the size limit, resulting in a 413 Entity Too Large error.
{
"dateFrom": "2023-10-01",
"dateTo": "2023-12-30",
"groupBy": ["user.id"]
}
How should we split the date ranges in code to avoid this? We need to process this in a single script.