Convert a rule action to a target type

post/ruleSets/{ruleSetId}/actionConversion

Convert a rule action to a new target type.

Request Samples

1

Response Samples

1{
2 "convertedAction": {
3 "expression": "JMgr = JSef",
4 "id": "d86fd11d-c9e9-41be-8d1f-b04beb4b519e",
5 "type": "complex"
6 },
7 "source": {
8 "term": {
9 "creationTimeStamp": "2024-07-02T15:10:10.261Z",
10 "modifiedTimeStamp": "2024-07-02T15:10:10.261Z",
11 "createdBy": "sasdemo",
12 "modifiedBy": "sasdemo",
13 "id": "1585a3a4+f659+4d37+7e39+b167fea07777",
14 "name": "JMgr",
15 "dataType": "string",
16 "direction": "none",
17 "description": ""
18 },
19 "expression": "JSef",
20 "status": "valid",
21 "statusMessage": "",
22 "id": "d86fd11d-c9e9-41be-8d1f-b04beb4b519e",
23 "type": "assignment"
24 },
25 "targetType": "complex",
26 "version": 1
27}

Path Parameters

NameTypeRequiredDescription
ruleSetId
string
true

The rule set ID.

Request Body

The action conversion request.

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

NameTypeRequiredDescription
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.

Responses

StatusMeaningDescription
200OK

The converted rule action.

HeadersSchema
400Bad Request

The request was invalid.

Schema