Validate a DS2 expression
post/validations/expressionValidations
Validates a DS2 expression.
Representation of a DS2 expression to validate with optional signature.
Contains information about an expression to be validated. The expression may contain literals, terms, built in functions and custom functions.
Name | Type | Required | Description |
---|---|---|---|
signature | array [Decision Condition Term] | false | An optional set of terms that may be used in the expression. |
expression | string | true | The expression to be validated. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The body of the request was valid. The expression was successfully validated as valid or invalid. | Headers | Schema |
400 | Bad Request | The body of the validation request was invalid. | Headers | Schema |