Request

The request contains the following elements in the URL:

Key

Required/Optional

Description

id

Required

Batch ID of the underwriting batch to update

isPatch

Optional

Include as a query parameter set to true or false. If set to true, the update will only overwrite included items, if false or omitted, the entire record will be overwritten.

The request body contains the following elements within the data object for each set of underwriting results in the batch. When updating underwriting results, all existing information is overwritten unless the isPatch query paramenter is set to true.

Key

Type

Required/Optional

Description

case_id

String

Required

The Case ID assigned by the system

strategy_name

String

Optional

Name of the strategy used for the decision

strategy_version

Number

Optional

Version number of the strategy used for the decision

strategy_status

String

Optional

Status of the strategy used for the decision (either active or testing)

passed

Boolean

Optional

Indicates if the decision passed or failed. Returns true if all Requirements Rules modules passed and false if any fail. If Strategy contains no Requirements Rules modules it will return true

decline_reasons

String (Array)

Optional

Shows the assigned decline reasons in the case the decision fails and decline reasons have been set up within the Strategy

input_variables

Object

Optional

Contains all Input Variables provided in the API request. Variables are populated as key value pairs with the key being the variable's system name (not display name)

output_variables

Object

Optional

Contains all Output Variables assigned by the Strategy. Variables are populated as key value pairs with the key being the variable's system name (not display name)

Response

The response body returns the saved underwriting results data.

Language