Public Use Case Manager API Workflows
Use these workflows to download report data to CSV or JSON files.
Workflow to generate a paginated result in JSON
Use this workflow to generate the Use Case Explorer report as a JSON array in a page by page format. The workflow uses the API endpoints in the order that is described in the following table:
Endpoint |
Description |
---|---|
|
Generates a Use Case Explorer report and returns a reportId. You must use this endpoint first when you start report generation. Fill the body of the request with the report columns and any filters or table groupings you want in the generated report. Use the returned reportId value in other API calls in the workflow. |
|
Returns the status of |
|
Returns the result of |
Workflow to generate and download reports in CSV
This workflow uses the API endpoints in the order that is described in the following table:
Endpoint |
Description |
---|---|
|
Generates a Use Case Explorer report and returns a reportId. You must use this endpoint first when you start report generation. Fill the body of the request with the report columns and any filters or table groupings you want in the generated report. Use the returned reportId value in other API calls in the workflow. |
|
Returns the status of |
|
Starts the download of a Use Case Explorer report CSV file. Include the
reportId value of the |
|
Checks the status of a Use Case Explorer report CSV file download job. Include
the jobId value returned from the
|
|
Returns the Use Case Explorer report in a CSV file if the
|
Workflow to generate and download reports in JSON
This workflow uses the API endpoints in the order that is described in the following table:
Endpoint |
Description |
---|---|
|
Generates a Use Case Explorer report and returns a reportId. You must use this endpoint first when you start report generation. Fill the body of the request with the report columns and any filters or table groupings you want in the generated report. Use the returned reportId value in other API endpoints in the workflow. |
|
Returns the status of |
|
Downloads the Use Case Explorer report as a JSON file. Include the
reportId value of the
|
|
Checks the status of a Use Case Explorer report JSON file download job. Include
the jobId value returned from the
|
GET /api/use_case_explorer/download_json/{jobId}/result |
Returns the final result of the Use Case Explorer JSON file after the
|