3.1 Using iHUB Case Status Feedback Request
The REST API is used to execute the iHUB Request.
API to retrieve case status based on case id's.
End Point Details
- HTTP Link - http://<hostname>:<port>/data-api-service/API/getData/cscasestatusfeedback
- Method - POST
- Content Type - Application/JSON
Executing iHUB Case Status Feedback Request
To execute iHUB Case Status Feedback Request, see Executing iHUB Case Status Feedback Request.
Request JSON Parameters
Table 3-1 Parameters and their values
Parameter | Value Type | Description |
---|---|---|
caseId | Array of Strings | List of case id's. |
Response JSON Parameters
Response will contain a result array that contains case status for each case.
Table 3-2 Parameters and their values
Parameter | Value Type | Description |
---|---|---|
Case_Status | String | Case status. |
Case_Internal_Identifier | String | Case id. |
Case_Status_Code | String | Case status code. |
Request and Response JSON Samples
Request Sample:{
"caseId": [
"CA120953",
"CA120793",
"CA120794"
]
}
Response Sample:{
"result": [
{
"Case_Status": "Closed - False Positive",
"Case_Internal_Identifier": "CA120953",
"Case_Status_Code": "CCFP"
},
{
"Case_Status": "Investigation",
"Case_Internal_Identifier": "CA120793",
"Case_Status_Code": "INV"
},
{
"Case_Status": "New",
"Case_Internal_Identifier": "CA120794",
"Case_Status_Code": "NW"
}
]
}
Table 3-3 Status codes and their status
Case_Status_Code | Case_Status |
---|---|
CCFP | Closed False Positive |
CCTMEC | Closed True Match Exit Completed |
CCTMER | Closed True Match Exit Required |
CCTMM | Closed True Match Monitored |
CCTNM | Closed True Match Not Monitored |
CLS_AE | Closed Auto Eliminated |
INV | Investigation |
NW | New |
PNDR | Pending Review |
RNPR | Review in Progress |
Note:
When the API request encounters an error, it generates a 400 Bad Request response with "STATUS": "ERROR".
This status code typically indicates that the request could not be processed due to invalid syntax, incorrect parameters, or other client-side issues.
Sample error message: (400 Bad Request)
{ "STATUS": "ERROR", "message": "ERROR in Executing Query, Please check you Filter and Join Conditions" }