Rules

Run the tests of a decision table

POST
/rules/tables/{record_type_id}/test

Run the tests of kind_config.tests against the current rows and check the table. Pass the returned content_hash to rules.release.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

record_type_id*string

Resource identifier: record_type_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/rules/tables/123e4567-e89b-42d3-a456-426614174000/test"
{  "passed": false,  "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b",  "results": [],  "total": 0,  "failed": 0,  "issues": [    {      "code": "example",      "message": "Please review the extracted totals.",      "rule_key": "example",      "path": "/"    }  ]}