Convert a rule action to a target type
post/ruleSets/{ruleSetId}/actionConversion
Convert a rule action to a new target type.
1{2 "source": {3 "term": {4 "creationTimeStamp": "2024-07-02T15:10:10.261Z",5 "modifiedTimeStamp": "2024-07-02T15:10:10.261Z",6 "createdBy": "sasdemo",7 "modifiedBy": "sasdemo",8 "id": "1585a3a4+f659+4d37+7e39+b167fea07777",9 "name": "JMgr",10 "dataType": "string",11 "direction": "none",12 "description": ""13 },14 "expression": "JSef",15 "status": "valid",16 "id": "d86fd11d-c9e9-41be-8d1f-b04beb4b519e",17 "type": "assignment",18 "lastStatus": "valid",19 "statusMessage": ""20 },21 "targetType": "complex"22}
The action conversion request.
A request to convert a rule action to a different type.
Name | Type | Required | Description |
---|---|---|---|
links | array [Link] | false | Zero or more links to related resources or operations. |
source | Rule Action | true | Action that is performed if a rule evaluated to true. |
targetType | string<enumeration> | true | The type to convert the action to. Allowed values: assignmentreturncomplexlookupValue |
convertedAction | Rule Action | false | Action that is performed if a rule evaluated to true. |
version | integer | false | This media type's schema version number. This representation is version 1. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The converted rule action. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema |