Update a routing rule

put/routingRules/{routingRuleId}

Updates the routing rule with the given identifier.

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}

Path Parameters

NameTypeRequiredDescription
routingRuleId
string
true

Specifies the identifier for the routing rule.

<= 36 characters

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.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No routing rule exists at the requested path.

Schema
412Precondition Failed

The If-Match request header did not match the routing rule's entity tag, or the If-Unmodified-Since request header did not match the routing rule'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