Convert a rule condition to a target type

post/ruleSets/{ruleSetId}/conditionConversion
Internal-Use Only

Convert a rule condition to a new target type.

Request Samples

1

Response Samples

1{
2 "source": {
3 "term": {
4 "creationTimeStamp": "2024-07-02T15:10:10.267Z",
5 "modifiedTimeStamp": "2024-07-02T15:10:10.267Z",
6 "createdBy": "sasdemo",
7 "modifiedBy": "sasdemo",
8 "id": "5ad020cb+b931+40d4+e8b9+61fdb3cdbb7a",
9 "name": "JOB",
10 "dataType": "string",
11 "direction": "inOut"
12 },
13 "expression": "= JSales",
14 "status": "valid",
15 "id": "5dcf65c4-24c5-4069-9641-f0eb57c6b038",
16 "type": "decisionTable"
17 },
18 "targetType": "complex"
19}

Path Parameters

NameTypeRequiredDescription
ruleSetId
string
true

The rule set ID.

Request Body

The condition conversion request.

A request to convert a rule condition to a different type.

NameTypeRequiredDescription
links
array [Link]
false

Zero or more links to related resources or operations.

source
Rule Condition
true

Conditional that evaluates to true or false.

targetType
string<enumeration>
true

The type to convert the condition to.

Allowed values:
decisionTablelookupcomplex
convertedCondition
Rule Condition
false

Conditional that evaluates to true or false.

version
integer
false

This media type's schema version number. This representation is version 1.

Responses

StatusMeaningDescription
200OKThe converted rule condition.HeadersSchema
400Bad RequestThe request was invalid.Schema