Update a logic expression

put/logicExpressions/{logicExpressionId}

Updates the logic expression with the given logic expression identifier.

Request Samples

1

Response Samples

1{
2 "items": [
3 {
4 "conditionCode": "EQ",
5 "createdBy": "videmo",
6 "creationTimeStamp": "2024-04-18T12:33:12.370Z",
7 "links": [
8 {
9 "method": "GET",
10 "rel": "self",
11 "href": "/svi-alert/logicExpressions/logicIdExample",
12 "uri": "/svi-alert/logicExpressions/logicIdExample",
13 "type": "application/vnd.sas.investigation.triage.logic.expression"
14 },
15 {
16 "method": "DELETE",
17 "rel": "delete",
18 "href": "/svi-alert/logicExpressions/logicIdExample",
19 "uri": "/svi-alert/logicExpressions/logicIdExample",
20 "type": "application/vnd.sas.investigation.triage.logic.expression"
21 },
22 {
23 "method": "PUT",
24 "rel": "update",
25 "href": "/svi-alert/logicExpressions/logicIdExample",
26 "uri": "/svi-alert/logicExpressions/logicIdExample",
27 "type": "application/vnd.sas.investigation.triage.logic.expression",
28 "responseType": "application/vnd.sas.investigation.triage.logic.expression"
29 },
30 {
31 "method": "GET",
32 "rel": "routingRule",
33 "href": "/svi-alert/routingRules/rule123",
34 "uri": "/svi-alert/routingRules/rule123",
35 "type": "application/vnd.sas.investigation.triage.routing.rule"
36 }
37 ],
38 "logicExpressionId": "logicIdExample",
39 "modifiedBy": "videmo",
40 "modifiedTimeStamp": "2024-04-18T12:33:12.370Z",
41 "propertyName": "currentScore",
42 "routingRuleId": "rule123",
43 "valueText": "example",
44 "version": 1
45 }
46 ]
47}

Path Parameters

NameTypeRequiredDescription
logicExpressionId
string
true

Specifies the identifier for the given logic expression.

<= 36 characters

Request Body

A logic expression representation.

NameTypeRequiredDescription
logicExpressionId
string
false
<= 36 characters
routingRuleId
string
false
<= 36 characters
propertyName
string
false
<= 500 characters
conditionCode
string
false
<= 20 characters
valueText
string
false
<= 1000 characters
links
array [Link]
false

A link representation.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No logic expression exists at the requested path.

Schema
412Precondition Failed

The If-Match request header did not match the logic expression's entity tag, or the If-Unmodified-Since request header did not match the logic expression's last modified timestamp.

Schema
428Precondition Required

The request headers did not include a If-Match or If-Unmodified-Since precondition.

Schema
500Internal Server Error

The request could not be fulfilled because of an unexpected server error.

Schema