Get a logic expression

get/logicExpressions

Returns a logic expression based on a standard filter.

Request Samples

1

Response Samples

1{
2 "name": "logicExpressions",
3 "start": 0,
4 "count": 1,
5 "links": [
6 {
7 "method": "GET",
8 "rel": "collection",
9 "href": "/svi-alert/logicExpressions",
10 "uri": "/svi-alert/logicExpressions",
11 "type": "application/vnd.sas.collection"
12 },
13 {
14 "method": "GET",
15 "rel": "self",
16 "href": "/svi-alert/logicExpressions?sortBy=creationTimeStamp:descending&start=0&limit=10",
17 "uri": "/svi-alert/logicExpressions?sortBy=creationTimeStamp:descending&start=0&limit=10",
18 "type": "application/vnd.sas.collection"
19 },
20 {
21 "method": "POST",
22 "rel": "createLogicExpression",
23 "href": "/svi-alert/logicExpressions",
24 "uri": "/svi-alert/logicExpressions",
25 "type": "application/vnd.sas.investigation.triage.logic.expression",
26 "responseType": "application/vnd.sas.investigation.triage.logic.expression"
27 }
28 ],
29 "items": [
30 {
31 "conditionCode": "EQ",
32 "createdBy": "videmo",
33 "creationTimeStamp": "2024-04-18T12:33:12.370Z",
34 "links": [
35 {
36 "method": "GET",
37 "rel": "self",
38 "href": "/svi-alert/logicExpressions/logicIdExample",
39 "uri": "/svi-alert/logicExpressions/logicIdExample",
40 "type": "application/vnd.sas.investigation.triage.logic.expression"
41 },
42 {
43 "method": "DELETE",
44 "rel": "delete",
45 "href": "/svi-alert/logicExpressions/logicIdExample",
46 "uri": "/svi-alert/logicExpressions/logicIdExample",
47 "type": "application/vnd.sas.investigation.triage.logic.expression"
48 },
49 {
50 "method": "PUT",
51 "rel": "update",
52 "href": "/svi-alert/logicExpressions/logicIdExample",
53 "uri": "/svi-alert/logicExpressions/logicIdExample",
54 "type": "application/vnd.sas.investigation.triage.logic.expression",
55 "responseType": "application/vnd.sas.investigation.triage.logic.expression"
56 },
57 {
58 "method": "GET",
59 "rel": "routingRule",
60 "href": "/svi-alert/routingRules/rule123",
61 "uri": "/svi-alert/routingRules/rule123",
62 "type": "application/vnd.sas.investigation.triage.routing.rule"
63 }
64 ],
65 "logicExpressionId": "logicIdExample",
66 "modifiedBy": "videmo",
67 "modifiedTimeStamp": "2024-04-18T12:33:12.370Z",
68 "propertyName": "currentScore",
69 "routingRuleId": "rule123",
70 "valueText": "example",
71 "version": 1
72 }
73 ],
74 "limit": 10,
75 "version": 2
76}

Query Parameters

NameTypeRequiredDescription
filter
string
false

The criteria for filtering the items. See Filtering in REST APIs.

<= 1000 characters
limit
integer<int32>
false

Specifies the maximum number of items to return. The default value is 10.

>= 1
Default:
10
sortBy
string
false

The criteria for sorting the items. See Sorting in REST APIs.

<= 1000 characters
Default:
creationTimeStamp:descending
start
integer<int32>
false

Specifies the index of the first item to return. The default value is 0.

>= 0
Default:
0

Header Parameters

NameTypeRequiredDescription
Accept-Item
string
false

Specifies the media type of the items returned.

Allowed value:
application/vnd.sas.investigation.triage.logic.expression+json

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema