B.13 Sample Responses to Update Event Risk Decision for Case API

This section lists sample responses for the Update Event Risk Decision for Case API.

Table B-13 Sample Responses to Update Event Risk Decision for Case API

SL No Description Response Response Type and Status
1 This is the response when event decision updation for an existing case is successful. {"MESSAGE": "Event Decision updation was successful.","STATUS": "SUCCESS", "RESULTARRAY": [{"MESSAGE": "Event Decision updation was successful.","STATUS": "SUCCESS","caseId": "CA100","events":[{"MESSAGE": "Event Decisionupdated successfully.","STATUS": "SUCCESS","eventCode": "ECMRT1662738331135"},{"MESSAGE": "Event Decision updated successfully.","STATUS": "SUCCESS","eventCode": "ECMRT1662738414993"}]}] } OK 200
2 This is the response when event decision updation for an existing case is partially successful. {"MESSAGE": "Event Decision updation was partially successful.","STATUS": "PARTIALSUCCESS", "RESULTARRAY": [{"MESSAGE": "Event Decision updation was successful.","STATUS": "SUCCESS","caseId": "CA100","events":[{"MESSAGE": "Event Decisionupdated successfully.","STATUS": "SUCCESS","eventCode": "ECMRT1662738331135"},{"MESSAGE": "Event Decision updated successfully.","STATUS": "SUCCESS","eventCode": "ECMRT1662738414993"}]},{"MESSAGE": "Event Decision updation failed.","STATUS": "FAILED","caseId": "CA101","events": [{"MESSAGE": "Event does not exist in case.","STATUS": "FAILED","eventCode": "ECMRT1662738331135"}]}] } OK 200
3 This is the response when there is a problem with the input data. {"MESSAGE": "Invalid JSON Input format. Please correct the data.","STATUS": "FAILED" } ERROR 400
4 This is the response when the request fails because multiple errors. {"MESSAGE": "Event Decision updation failed.","STATUS": "FAILED", "RESULTARRAY": [{"MESSAGE": "Event Decision updation failed.","STATUS": "FAILED","caseId": "CA103","events": [{"MESSAGE": "Event Decision updation failed as error occurred while updating Event Decision related tables.","STATUS": "FAILED","eventCode": "ECMRT1662738331136"}]},{"MESSAGE": "Case does not exist.", "STATUS": "FAILED","caseId": "CA3600","events": [{"MESSAGE": null, "STATUS": null,"eventCode": null}]},{"MESSAGE": "Case is locked by another user CASEANA1.","STATUS": "FAILED","caseId": "CA360","events": [{"MESSAGE": null, "STATUS": null, "eventCode": null ERROR 500
5 This is the response when the request fails because of server errors. {"MESSAGE": "Event Decision updation failed.","STATUS": "FAILED", "RESULTARRAY": [{"MESSAGE": "Internal error occurred. Please contact system administrator.","STATUS": "FAILED","caseId": "CA103"}] } ERROR 500