Last updated

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 or Pending


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 NumberLabel
1Accepted
2Refer
3Reject
5Manually Accepted
6Manually Rejected

Description:
This field is free text for the user to add a justification to the decision.

NOTE: The label and description 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."
      }
    ]
  }
}