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
Hi Mark,
As far as I see the powershell you shared is using cc method which seems to be not in collection anymore. However in v3 api you have get report file method if needed.
Looks like I might need to update my linked post
@kjakubiak - What should I need to give in taskResultId field? How to fetch it?
Get it from this API get-campaign-reports | SailPoint Developer Community
the result ID is the taskResultId
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.This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.