Manually Change Decision Outcome
This section provides endpoints to manually update and verify decision outcomes associated with a specific GUID.
NOTE: Decisions can only be updated manually if the status is
Refer
orPending
1. Update Decision Outcome
This endpoint allows you to change a decision outcome associated with the GUID.
Example Request
PATCH /decisionEngine/decisionOutcome/{guid}
Request Body
{
"includeInManualReview": true,
"decisionOutcomes": [
{
"status": 0,
"label": "string",
"description": "string"
}
]
}
Status Definitions
Status Number | Label |
---|---|
1 | Accepted |
2 | Refer |
3 | Reject |
5 | Manually Accepted |
6 | Manually Rejected |
Description:
This field is free text for the user to add a justification to the decision.
NOTE: The
label
anddescription
can be customised at this stage.
2. Check Outcome Has Been Updated
This endpoint retrieves the updated submission result. It must also be called if any manual changes are made to ensure the updates take effect.
GET /decisionEngine/decisionOutcome/{guid}
Example Response
{
"correlationId": "23921650-c073-11ea-860f-06bc8182190e",
"includeInManualReview": true,
"decisionOutcomes": {
"items": [
{
"status": 1,
"label": "Accepted",
"description": "The decision has met all the required criteria and has been automatically accepted."
}
]
}
}