Convert a rule condition to a target type
post/ruleSets/{ruleSetId}/conditionConversion
Convert a rule condition to a new target type.
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}
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 |