Checking Individual Report Status
This API provides the status of the report generation.
Resource URL
POSTÂ Method Resource URL:Â http://localhost:9081/sigma/rest/reports/report-status
Query Parameters are as follows:
Name | Description | Sample Values |
action | String indicating the action to be executed. REPORT_INSTANCE_STATUS_CHECK is the default action value for checking status for individual reports. | REPORT_INSTANCE_STATUS_CHECK |
referenceNumber | Unique number provided as the response for running reports API request. | sample2djj-6c394d0e-9802-49ae-bdd3-9ccaed431ecd |
accessToken | Obtained access token as the response for generate token API request. | sample61d74837-2e77-4ede-a967-2c84b30-dws-b3b4f |
Response Parameters are as follows:
Parameter | Type | Description |
replyType | string | For reply type, the report status will be returned as 'SUCCESS' if the report status checking is successful or 'FAILURE' if the report status checking is a failure. |
reportId | string | Generating reports ID. |
reportName | sting | Name of the report. |
reportStatus | string | Provides the report status as 'NOTIFIED' if the report is generated successfully or an error message is displayed. |
statusCode | int | Code for report status. The response error details for each HTTP code are as follows: |
Sample Response
{
"headerMap": {
"replyType":Â "SUCCESS",
"reportId":Â " samplejk34-0925bccf-29f0-42f2-8896-77c57aea2198",
"reportName":Â " AccountTransaction ",
"success":Â "true",
"reportStatus":Â "NOTIFIED",
"errorCode":Â "",
"statusCode":Â "200",
"errorMsg":Â ""
}
} |
You can also add filters while generating the report by passing "reportFilter" parameter as shown in the following sample code snippet:
"reportFilter"Â : {"filterDef": [
{
"columnId": "ACCOUNT_TYPE", "filterId": "STR_CONTAINS","filterDataType": "string","filterValues": "savings"
}]}
} |