Convert a rule action to a target type

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

Convert a rule action to a new target type.

Request Samples

1

Response Samples

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}

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
200OKThe converted rule action.HeadersSchema
400Bad RequestThe request was invalid.Schema