Convert a rule condition to a target type
post/ruleSets/{ruleSetId}/conditionConversion
Convert a rule condition to a new target type.
1{2 "convertedCondition": {3 "expression": "JOB = JSales",4 "id": "5dcf65c4-24c5-4069-9641-f0eb57c6b038",5 "type": "complex"6 },7 "source": {8 "term": {9 "creationTimeStamp": "2024-07-02T15:10:10.267Z",10 "modifiedTimeStamp": "2024-07-02T15:10:10.267Z",11 "createdBy": "sasdemo",12 "modifiedBy": "sasdemo",13 "id": "5ad020cb+b931+40d4+e8b9+61fdb3cdbb7a",14 "name": "JOB",15 "dataType": "string",16 "direction": "inOut"17 },18 "expression": "= JSales",19 "status": "valid",20 "id": "5dcf65c4-24c5-4069-9641-f0eb57c6b038",21 "type": "decisionTable"22 },23 "targetType": "complex",24 "version": 125}
The condition conversion request.
A request to convert a rule condition to a different type.
Name | Type | Required | Description |
---|---|---|---|
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. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The converted rule condition. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema |