4.17 Update Event Risk Decision for Case

This service will allow updation of Risk Decision for events in an existing case.

The following topics explain how to update Event Risk Decision for an existing Case.

HTTP Link

http:// <Application URL>/rest-api/ECMService/CaseManagementService/updateEventRiskDecision

Service Type

The service type is POST.

Request Parameters

The following table describes the details of the parameters.

Table 4-33 Request Parameter Details

First Level Second Level Details
caseId This accepts the case internal identifier.
events eventCode This accepts the event identifier.
events eventTypeCode This accepts the event type code value.
events dataOrigin This accepts the event data origin value.
events eventDecisionCode This accepts the event decision code value.
events standardCommentId This accepts the standard comment identifier. Multiple standard comment id(s) can be passed comma separated.
events comments This accepts the comments value.

Request JSON Sample

This section contains a request JSON sample to update Event Risk Decision for ECM cases. The API will accept multiple caseids and events information whose risk decision are to be updated for the case. The entries in this sample are only for reference purposes.

[
{
"caseId": "CA100",
"events": [
{
"eventCode": "ECMRT1662738331135",
"eventTypeCode": "AML",
"dataOrigin": "DLY",
"eventDecisionCode": 1,
"standardCommentId": "8151,8152",
"comments": "This event is suspicious."
}
]
}
]

Response Parameters

The following table describes the details of the response parameters.

Table 4-34 Parameter Details

First Level Second Level Third Level Details
MESSAGE - - Displays the overall response message from the API.
STATUS - - Displays the overall status of the API call whether it was successful or failed. In case of success, it will be represented by SUCCESS and in case of failure it will be represented by FAILED and in case of partial success it will be represented by PARTIALSUCCESS.
RESULTARRAY MESSAGE - Displays the response message from the API for the respective case.
RESULTARRAY STATUS - Displays the status of the API call for the respective case whether it was successful or failed. In case of success, it will be represented by SUCCESS and in case of failure it will be represented by FAILED and in case of partial success it will be represented by PARTIALSUCCESS.
RESULTARRAY caseId - Displays the case internal identifier on which the API was called.
RESULTARRAY events MESSAGE Displays the response message from the API for the respective event under the respective case.
RESULTARRAY events STATUS Displays the status of the API call for the respective event under the respective case whether it was successful or failed. In case of success, it will be represented by SUCCESS and in case of failure it will be represented by FAILED.
RESULTARRAY events eventCode Displays the event identifier under the respective case on which the API was called.

Response JSON Sample

This section contains a response JSON sample for when Event Risk Decision updation for an existing case is successful. The entries in this sample are only for reference purposes. Refer to Improvements in Real Time Event Creation APIs for additional Response JSON samples.
{
"MESSAGE": "Event Decision updation was successful.",
"STATUS": "SUCCESS",
"RESULTARRAY": [
{
"MESSAGE": "Event Decision updation was successful.",
"STATUS": "SUCCESS",
"caseId": "CA100",
"events": [
{
"MESSAGE": "Event Decision updated successfully.",
"STATUS": "SUCCESS",
"eventCode": "ECMRT1662738331135"
},
{
"MESSAGE": "Event Decision updated successfully.",
"STATUS": "SUCCESS",
"eventCode": "ECMRT1662738414993"
}
]
}
]
}