stobaiwa | 2024-02-28 01:51:39 UTC | #1
I have some scheduled Power Automate flows running daily to invoke requests to this endpoint: /api/v2/analytics/reporting/exports, the result should be a CSV emailed to a specified email address, with AGENTPERFORMANCESUMMARYVIEW, I always get data in the resulting CSV, however with QUEUEPERFORMANCESUMMARYVIEW, it's almost always empty. If I use the API Explorer on the dev website, I get different results for the exact same request. Has anyone faced a similar issue before?
*Endpoint : *
/api/v2/analytics/reporting/exports
*Request Object : *
{ "name": "QUEUEPERFORMANCESUMMARYVIEW- 2024-02-23", "timeZone": "Australia/Melbourne", "exportFormat": "CSV", "interval": "2024-02-23T00:00:00.000Z/2024-02-23T23:59:59.000Z", "period": "P1D", "viewType": "QUEUEPERFORMANCESUMMARYVIEW", "filter": { "mediaTypes": [ "voice", "callback", "chat", "email", "message" ], "originatingDirections": [ "inbound", "outbound" ] }, "read": true, "locale": "en-US", "hasFormatDurations": true, "hasSplitFilters": true, "excludeEmptyRows": true, "hasSplitByMedia": true, "hasSummaryRow": false, "csvDelimiter": "COMMA", "hasCustomParticipantAttributes": true, "recipientEmails": [ "name@email.com" ], "includeDurationFormatInHeader": true, "durationFormat": "Hhmmss" }
system | 2024-03-29 01:52:38 UTC | #2
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 24904