Hi There,
When I run API for “run campaign report” I am seeing “202 accepted message”, but not seeing any reports getting generated . Where can I see the report?
Thanks,
Harish G
Hi There,
When I run API for “run campaign report” I am seeing “202 accepted message”, but not seeing any reports getting generated . Where can I see the report?
Thanks,
Harish G
Hi @harishhaleon , I believe it takes some time to generate report depending upon the data it processes. Did you check there later after some time?
This won’t actually download the reports like you do in the UI, it just refreshes them or gets the metadata for them. I am assuming that @harishhaleon would like the actual csv or pdf report, but that’s not 100%
If OP wants to download the reports to a file, they can use the PowerShell SDK to do so
Looks like I might need to update my linked post
@kjakubiak - What should I need to give in taskResultId field? How to fetch it?
To download a campaign report after you run the campaign report, follow this process.
curl --location 'https://devrel.api.identitynow.com/v3/reports/2c9180857d2eb81b017d33432b4f7de9?fileFormat=csv' \ --header 'Accept: application/csv' where the ID in this URL is the report ID obtained in step 1.