I am running the following query in Python:
flowAggUrl = f'https://api.{genesysSite}/api/v2/analytics/flows/aggregates/query'
dataAPI = {
"interval": f"{startDate}T05:00:00.000Z/{endDate}T05:00:00.000Z",
"granularity": "P1D",
"groupBy": [
"flowMilestoneId",
"flowOutcome"
],
"metrics": [
"nFlow",
"nFlowMilestone",
"nFlowOutcome",
"nFlowOutcomeFailed",
"oFlowMilestone",
"tFlow",
"tFlowDisconnect",
"tFlowExit",
"tFlowOutcome"
],
"filter": {
"type": "and",
"predicates": [
]
}
}
response = callAPI(flowAggUrl, headersAPI, dataAPI)
And it is not returning all the Flow Outcomes or Flow Milestones, even though I have no filters in the query,
Why is it not returning all the Flow Outcomes? It returns most of them, but not all of them.
Thanks,
Simon