Reports API
The Reports API provides a comprehensive set of endpoints to manage the entire lifecycle of your reports. You can programmatically create, read, update, and delete report templates.
The API also enables you to import and export templates, which simplifies moving report configurations between different environments.
Once a template is ready, you can run the report, check the status of the execution job, and then view or download the results.
Download Postman and import the reports collection
The Reports Postman collection provides a set of pre-configured requests that you can use to interact with the Reports API.
-
Download and install the Postman application.
-
Download the Reports Q3 Postman collection.
-
Download the Reports Q3 Postman environment.
-
In Postman:
-
Go to File > Import... > Upload Files.
-
Browse to the collection JSON file you downloaded in the previous step, and then click Open.
-
Click Import to bring the collection and environment into your workspace. Make sure to change your environment variables to match your tenant.
-
Token request
You need a service account to allow the requests in the collection to connect to your Advanced Identity Cloud tenant. You also need an access token to use each reports endpoint.
You can obtain a service account and an access token by following the instructions in Get an access token.
General endpoints
Create a report
A POST request to /reports/templates?_action=create
to generate a report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates?_action=create' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <access-token>' \ --data ' { "reportTemplate": { "displayName": "rain report", "description": "rain report", "version": 2, "reportConfig": "{\"version\":\"v2\",\"entities\":[{\"entity\":\"users\"}],\"fields\":[{\"label\":\"City\",\"value\":\"users.city\"},{\"label\":\"Country\",\"value\":\"users.country\"}]}", "ootb": true, "editable": true, "duplicatable": true, "visible": true, "viewers": [] } }'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
true |
object |
|
|
false |
|
string |
|
false |
|
array |
|
true |
|
string |
|
true |
|
string |
|
true |
|
string |
Publish a report
A POST request to /reports/templates/REPORT-UUID?_action=publish
to publish a report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/REPORT-UUID?_action=publish' \ --header 'Authorization: Bearer <access-token>'
Name | In | Required | Example | Schema |
---|---|---|---|---|
|
path |
true |
|
string |
Name | In | Required | Example | Schema |
---|---|---|---|---|
|
query |
false |
|
string |
Get all templates
A GET request to /reports/templates?templateType=draft
to get all report templates.
curl --location --request GET 'https://<tenant-env-fqdn>/reports/templates?templateType=draft' \ --header 'Authorization: Bearer <access-token>' \ --header "Accept-API-Version: resource=1.0"
Name | In | Required | Example | Schema |
---|---|---|---|---|
|
query |
false |
|
string |
Name | In | Required | Example | Schema |
---|---|---|---|---|
|
header |
false |
|
string |
|
header |
false |
|
string |
Delete a report
A POST request to /reports/templates/REPORT-UUID?_action=delete&templateType=draft
to delete a report template.
curl --location --request GET 'https://<tenant-env-fqdn>/reports/templates/REPORT-UUID?_action=delete&templateType=draft' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | In | Required | Example | Schema |
---|---|---|---|---|
|
query |
false |
|
string |
|
query |
false |
|
string |
Name | In | Required | Example | Schema |
---|---|---|---|---|
|
header |
false |
|
string |
|
header |
false |
|
string |
Duplicate a report
A POST request to /reports/templates/REPORT-UUID?_action=duplicate
to duplicate a report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/REPORT-UUID?_action=duplicate&templateType=draft' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <access-token>' \ --data-raw '{ "reportTemplate": { "description": "", "name": "", "viewers": [], "displayName": "reportTest12356" } }'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
true |
object |
|
|
true |
|
string |
|
false |
|
string |
|
false |
|
string |
|
false |
|
array |
Edit a report
A POST request to /reports/templates/REPORT-UUID?_action=edit
to edit a report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/REPORT-UUID?_action=edit' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Update a report
A POST request to /reports/templates
to update a report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates?_action=update&templateType=draft' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "reportTemplate": { "description": "", "viewers": [], "displayName": "11thaugv2 ", "reportConfig": "{\\\"version\\\":\\\"v2\\\",\\\"entities\\\":[{\\\"entity\\\":\\\"accounts\\\"}],\\\"fields\\\":[{\\\"label\\\":\\\"Account Data\\\",\\\"value\\\":\\\"accounts.accountData\\\"}]}", "name": "5CAAC80A-0A64-4C1C-BC75-1529A12E43B5" } }'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
true |
object |
|
|
false |
|
string |
|
false |
|
array |
|
true |
`11thaugv2 ` |
string |
|
true |
|
string |
|
true |
|
string |
Run report
A POST request to /reports/templates/REPORT-UUID?_action=run&templateType=published
to run a report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/REPORT-UUID?_action=run&templateType=published' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>' \ --data ' { "parameters": "{}", "context": [ { "type": "global", "data": [ { "key": "realm", "value": "alpha" } ] } ] }'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
View report
A POST request to /reports/templates/JOB-ID?_action&_pageSize=10&_pagedResultsOffset=0&name=REPORT-UUID&templateType=published
to view a report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/JOB-ID?_action&_pageSize=10&_pagedResultsOffset=0&name=REPORT-UUID&templateType=published' \ --header "Accept-API-Version: resource=1.0" \ --header "Authorization: Bearer <access-token>"
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
|
false |
|
string |
|
false |
|
string |
|
true |
|
string |
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Download report
A POST request to /reports/runs/JOB-ID?_action=download&name=REPORT-UUID&format=csv
to download a report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/JOB-ID?_action=download&name=REPORT-UUID&format=csv' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
|
true |
|
string |
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Import a new report
A POST request to /reports/templates/import
to import a new report.
Importing and exporting report templates is only applicable to custom report templates. Administrators can export both draft and published templates. |
curl \ --location \ https://<tenant-env-fqdn>/reports/templates/import' \ --header 'Content-Type: application/json, text/plain, */\*' \ --header 'Accept-API-version: resource=1.0' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Authorization: Bearer <access-token>' \ --form 'file=@"/path/to/report/New_draft"'
Name | In | Required | Example | Schema |
---|---|---|---|---|
|
header |
true |
|
string |
|
header |
true |
|
string |
|
header |
true |
|
string |
|
header |
true |
|
string |
Export the report
A POST request to /reports/templates/REPORT-UUID?templateType=draft&_action=export
to export a report.
Importing and exporting report templates is only applicable to custom report templates. Administrators can export both draft and published templates. |
curl \ --request POST \ 'https://<tenant-env-fqdn>/reports/templates/A1C07D0B-49C9-48C6-B225-CE05F27A5DEE?templateType=draft&_action=export' \ --header 'Content-Type: application/json, text/plain, */\*' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Authorization: Bearer <access-token>' \ --data ''
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
|
true |
|
string |
|
true |
|
string |
Role and organization reports endpoints
Run template - organization membership report
A POST request to /reports/templates/ORG-USERS-REPORT-NAME
to run an organization membership report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/ORG-USERS-REPORT-NAME?_action=run' \ --header "Content-Type: application/json" \ --header "Accept-API-Version: resource=1.0" \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View report result - organization membership report
A POST request to /reports/runs/ORG-USERS-REPORT-JOB-ID
to view the organization users report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/ORG-USERS-REPORT-JOB-ID?_action=view&name=ORG-USERS-REPORT-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Run template - role composition report
A POST request to /reports/templates/ROLE-COMPOSITION-NAME
to run a role composition report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/ROLE-COMPOSITION-NAME?_action=run' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View result - role composition report
A POST request to /reports/runs/ROLE-COMPOSITION-JOB-ID
to view a role composition report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/ROLE-COMPOSITION-JOB-ID?_action=view&name=ROLE-COMPOSITION-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Run template - role membership report
A POST request to /reports/templates/ROLE-MEMBERSHIP-NAME
to run a role membership report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/ROLE-MEMBERSHIP-NAME?_action=run' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View results - role membership report
A POST request to /reports/runs/ROLE-MEMBERSHIP-JOB-ID
to view role membership report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/ROLE-MEMBERSHIP-JOB-ID?_action=view&name=ROLE-MEMBERSHIP-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Journey reports endpoints
Run template - journey stats report
A POST request to /reports/templates/JOURNEY-STATS-NAME
to run a journey stats report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/JOURNEY-STATS-NAME?_action=run' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View report result - journey stats report
A POST request to /reports/runs/JOURNEY-STATS-JOB-ID
to view a journey stats report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/JOURNEY-STATS-JOB-ID?_action=view&name=JOURNEY-STATS-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Run template - user journey stats report
A POST request to /reports/templates/USER-JOURNEY-STATS-NAME
to run a user journey stats name report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/USER-JOURNEY-STATS-NAME?_action=run' \ --header 'X-TENANT-ID: 436392a8-3ef4-11ee-be56-0242ac120002' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View report result - user journey stats report
A POST request to /reports/runs/USER-JOURNEY-STATS-JOB-ID
to view a user journey stats report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/USER-JOURNEY-STATS-JOB-ID?_action=view&name=USER-JOURNEY-STATS-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
End user insights reports endpoints
Run template - user last login report
A POST request to /reports/templates/USER-LAST-LOGIN-NAME
to run a user last login name report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/USER-LAST-LOGIN-NAME?_action=run' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View result - user last login report
A POST request to /reports/runs/USER-LAST-LOGIN-JOB-ID
to view a user last login name report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/USER-LAST-LOGIN-JOB-ID?_action=view&name=USER-LAST-LOGIN-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Run template - user access details report
A POST request to /reports/templates/USER-ACCESS-DETAILS-NAME
to run a user access details name report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/USER-ACCESS-DETAILS-NAME?_action=run' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View results - user access details report
A POST request to /reports/runs/USER-ACCESS-DETAILS-JOB-ID
to view user access details name report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/USER-ACCESS-DETAILS-JOB-ID?_action=view&name=USER-ACCESS-DETAILS-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Run template - user count by status report
A POST request to /reports/templates/USER-COUNT-BY-STATUS-NAME
to run a user count by status report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/USER-COUNT-BY-STATUS-NAME?_action=run' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View results - user count by status report
A POST request to /reports/runs/USER-COUNT-BY-STATUS-JOB-ID
to view user count by status report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/USER-COUNT-BY-STATUS-JOB-ID?_action=view&name=USER-COUNT-BY-STATUS-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Run template - user normal view report
A POST request to /reports/templates/USER-NORMAL-VIEW-NAME
to run a user normal view report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/USER-NORMAL-VIEW-NAME?_action=run' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View report - user normal view report
A POST request to /reports/runs/USER-NORMAL-VIEW-JOB-ID
to view a user normal view report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/USER-NORMAL-VIEW-JOB-ID?_action=view&name=USER-NORMAL-VIEW-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Governance[1] reports endpoints
Run template - certification details report
A POST request to /reports/templates/certification-details
to run a certification details report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/certification-details?_action=run' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View result - certification details report
A POST request to /reports/runs/CERTIFICATION-DETAILS-JOB-ID
to view a certification details report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/CERTIFICATION-DETAILS-JOB-ID?_action=view&name=CERTIFICATION-DETAILS-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
Run template - campaign decision report
A POST request to /reports/templates/CAMPAIGN-DECISION-NAME
to run a campaign decision name report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/templates/CAMPAIGN-DECISION-NAME?_action=run' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |
View result - campaign decision report
A POST request to /reports/runs/CAMPAIGN-DECISION-JOB-ID
to view a campaign decision report.
curl --location --request POST 'https://<tenant-env-fqdn>/reports/runs/CAMPAIGN-DECISION-JOB-ID?_action=view&name=CAMPAIGN-DECISION-NAME&_pageSize=10' \ --header 'Content-Type: application/json' \ --header 'Accept-API-Version: resource=1.0' \ --header 'Authorization: Bearer <access-token>'
Name | Required | Example | Schema |
---|---|---|---|
|
true |
|
string |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
integer |
Name | Required | Example | Schema |
---|---|---|---|
|
false |
|
string |
|
false |
|
string |
|
false |
|
string |