Hi,
I'm trying create an application which will download the csv report.
/api/v2/analytics/reporting/exports(post)
/api/v2/analytics/reporting/exports(get)
these are the api's i used for report generation and download. When i'm running it in api explorer it's giving the exact data in csv file. but when i'm using the same api in my node js application it's not giving enough data which i got from api explorer. most of the time it's empty.
{ "period": "PT30M",
"name": "CDRLogs",
"timeZone": "UTC",
"exportFormat": "CSV",
"interval": "2022-01-19T00:00:00.000Z/2022-01-21T23:59:59.000Z",
"viewType": "INTERACTION_SEARCH_VIEW",
"filter": {
"showSecondaryStatus": "true"
},
"locale": "en-us"
}
Above is the body i used for report request generation.
Please help me to overcome this issue.
Thanks