Create routing rules

post/routingRules

Create or update routing rules.

Request Samples

1

Response Samples

1{
2 "items": [
3 {
4 "createdBy": "videmo",
5 "creationTimeStamp": "2024-04-18T09:42:59.008Z",
6 "disjunctionFlag": false,
7 "links": [
8 {
9 "method": "GET",
10 "rel": "self",
11 "href": "/svi-alert/routingRules/rule123",
12 "uri": "/svi-alert/routingRules/rule123",
13 "type": "application/vnd.sas.investigation.triage.routing.rule"
14 },
15 {
16 "method": "PUT",
17 "rel": "update",
18 "href": "/svi-alert/routingRules/rule123",
19 "uri": "/svi-alert/routingRules/rule123",
20 "type": "application/vnd.sas.investigation.triage.routing.rule",
21 "responseType": "application/vnd.sas.investigation.triage.routing.rule"
22 },
23 {
24 "method": "GET",
25 "rel": "queue",
26 "href": "/svi-alert/queues/queue_default",
27 "uri": "/svi-alert/queues/queue_default",
28 "type": "application/vnd.sas.investigation.triage.queue"
29 }
30 ],
31 "modifiedBy": "videmo",
32 "modifiedTimeStamp": "2024-04-18T09:42:59.008Z",
33 "queueId": "queue_default",
34 "routingRuleDescription": "This rule is an example.",
35 "routingRuleId": "rule123",
36 "routingRuleName": "Routing Example",
37 "routingRulePriority": 10,
38 "routingRuleStatusCode": "ACTIVE",
39 "userCreatedRoutingRuleFlag": true,
40 "version": 1
41 }
42 ]
43}

Header Parameters

NameTypeRequiredDescription
Accept-Item
string
false

Specifies the media type of the items returned.

Allowed values:
application/vnd.sas.investigation.triage.routing.rule+jsonapplication/vnd.sas.collection+json

Request Body

A routing rule representation.

NameTypeRequiredDescription
routingRuleId
string
false
<= 36 characters
queueId
string
false
<= 36 characters
routingRuleName
string
false
<= 100 characters
routingRuleDescription
string
false
<= 500 characters
userCreatedRoutingRuleFlag
boolean
false
routingRulePriority
integer
false
routingRuleStatusCode
string
false
<= 20 characters
disjunctionFlag
boolean
false
logicExpressions
array [logicExpressionRep]
false

A logic expression representation.

creationTimeStamp
string
false
modifiedTimeStamp
string
false
createdBy
string
false
modifiedBy
string
false
links
array [Link]
false

A link representation.

Responses

StatusMeaningDescription
200OK

The request succeeded.

Schema
400Bad Request

The request was invalid.

Schema
500Internal Server Error

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

Schema