Skip to content

POST   /underwriting/auto-approval-rules/{id}/test

Test auto-approval rule

Test how an auto-approval rule would perform against sample data or specific application

Required Parameters

id   path string

Rule ID

Request Body

{}

Try it out

Loading...

Output:

Responses

Description

Rule test completed successfully

{
"matches": false,
"action": "string",
"approvedAmount": "string",
"conditions": [
"string"
],
"criteriaResults": {},
"executionTime": 0
}

Route Source Code

Check out the source code for this route entrypoint here: /underwriting/auto-approval-rules/[id]/test/route.ts

Or the swagger.yaml spec this documentation was generated from: /underwriting/auto-approval-rules/swagger.yaml