B.4 Sample Responses for Get ECM Case Status API

This section lists sample responses for the Get ECM Case Status API

Table B-4 Sample Responses for Get ECM Case Status API

SL No Description Response Response Type and Status
1 This is the response when case status is fetched successfully. {"MESSAGE": "Case Status fetch Successful.", "STATUS": "SUCCESS","RESULTARRAY": [{"caseId": "CA100","caseStatusCode": "INV", "caseStatusName": "Investigation", "caseStatusDateTime": "2022-06-2410:28:48","caseClosedFlag": "N"}]} OK 200
2 This is the response when there is a problem (Invalid input JSON data) with the input data. {"MESSAGE": "Invalid JSON Input format. Please correct the data.","STATUS": "FAILED"} ERROR 400
3 This is the response when there is a problem (Input JSON data does not have case ID) with the input data. {"MESSAGE": "Input JSON data does not have caseId.","STATUS": "FAILED"} ERROR 400
4 This is the response when there is a problem (Input case ID does not exist) with the input data. {"MESSAGE": "Case does not exist.", "STATUS": "FAILED","caseId": "CA100"} ERROR 400
5 This is the response when the request fails because of any server errors. {"MESSAGE": "Internal error occurred. Please contact system administrator.","STATUS": "FAILED","caseId": "CA100" } ERROR 500