v1

latestOpenAPI 3.0.02026-07-23589.6 KB

Solve Rule

This endpoint allows you to solve your rule while providing input data in JSON format. If the {version} parameter is omitted from the path, the last published version will be used automatically.

post/rule/solve/{ruleId}/{version}?

Path parameters

ruleIdstring required

Unique identifier for the rule that is common to all rule versions. Instead of rule ID, it is possible to use a rule alias.

versioninteger

Business rule version. If the parameter is not filled in, the last published version will be used automatically.

Headers

Authorizationstring required

Bearer Solver_API_Key

Content-Typestring

The media type of the request body. Example: application/json.

X-Strategy'STANDARD' | 'ARRAY' | 'FIRST_MATCH'

Defines the execution strategy. Possible values: STANDARD, ARRAY, FIRST_MATCH.

X-Correlation-Idstring

Correlation ID, if you'd like to set it manually. If not present, it will be generated automatically and returned in the response.

X-Audit'true' | 'false'

Decides whether an audit of the solve should be created and saved. Use 'true' to enable auditing.

X-Audit-Ttlstring

Number of days after which the audit will be deleted. Default is 14 days.

Request body

dataobject

JSON object that describes the input json data.

optionsobject

Object specifying solver options.

Response

OK

object[] required
All 5 operations