Update a logic expression
put/logicExpressions/{logicExpressionId}
Updates the logic expression with the given logic expression identifier.
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": 145 }46 ]47}
| Name | Type | Required | Description |
|---|---|---|---|
logicExpressionId | string | true | Specifies the identifier for the given logic expression. <= 36 characters |
A logic expression representation.
| Name | Type | Required | Description |
|---|---|---|---|
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. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Headers | Schema |
| 400 | Bad Request | The request was invalid. | Schema | |
| 404 | Not Found | No logic expression exists at the requested path. | Schema | |
| 412 | Precondition Failed | The | Schema | |
| 428 | Precondition Required | The request headers did not include a | Schema | |
| 500 | Internal Server Error | The request could not be fulfilled because of an unexpected server error. | Schema |