B.2 Sample Responses for Create or Update ECM Case Description API

This section lists sample responses for the Create or Update ECM Case Description API

Table B-2 Sample Responses for the Create or Update ECM Case Description API

SL No Description Response Response Type and Status
1 This is the response when case description is updated successfully. {"MESSAGE": "Case description updated successfully.","STATUS": "SUCCESS","caseId": "CA100"} 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 JSON data does not have case Description) with the input data. {"MESSAGE": "Input JSON data does not have caseDescription.","STATUS": "FAILED","caseId": "CA100"} ERROR 400
5 This is the response when there is a problem (Input caseID does not exist) with the input data. {"MESSAGE": "Case does not exist.", "STATUS": "FAILED","caseId": "CA100"} ERROR 400
6 This is the response when there is a problem (Input caseID locked by another user) with the current state of the case provided in the input. {"MESSAGE": "Case is locked by another user CASEANA1.","STATUS": "FAILED","caseId": "CA100"} ERROR 409
7 This is the response when there is a problem (Entry already exists in KDD_CASE_ ACTIONS_table) with the current state of the case provided in the input. {"MESSAGE": "Entry already exists in KDD_CASE_ACTIONS table.","STATUS": "FAILED","caseId": "CA100"} ERROR 409
8 This is the response when the request fails because of server errors (Error while updating KDD_CASES). {"MESSAGE": "Error occurred while updating KDD_CASES table.","STATUS": "FAILED"} ERROR 500
9 This is the response when the request fails because of server errors (Error while inserting into KDD_CASE_ ACTIONS table). {"MESSAGE": "Error occurred while inserting into KDD_CASE_ACTIONS table.","STATUS": "FAILED"} ERROR 500
10 This is the response when the request fails because of any other server errors. {"MESSAGE": "Internal error occurred. Please contact system administrator.","STATUS": "FAILED","caseId": "CA100"} ERROR 500