Upsert or create a queue

post/queues

Upserts existing queues or creates a new queue.

Request Samples

1

Response Samples

1{
2 "acceptManualAlerts": false,
3 "createdBy": "videmo",
4 "creationTimeStamp": "2024-04-09T09:38:12.336Z",
5 "dispositions": [],
6 "domainId": "BatchJobTest_d_id_632620",
7 "holdDefaultDuration": 60,
8 "links": [
9 {
10 "method": "GET",
11 "rel": "self",
12 "href": "/svi-alert/queues/queue_24431382",
13 "uri": "/svi-alert/queues/queue_24431382",
14 "type": "application/vnd.sas.investigation.triage.queue"
15 },
16 {
17 "method": "PUT",
18 "rel": "update",
19 "href": "/svi-alert/queues/queue_24431382",
20 "uri": "/svi-alert/queues/queue_24431382",
21 "type": "application/vnd.sas.investigation.triage.queue",
22 "responseType": "application/vnd.sas.investigation.triage.queue"
23 },
24 {
25 "method": "GET",
26 "rel": "domain",
27 "href": "/svi-alert/domains/BatchJobTest_d_id_632620",
28 "uri": "/svi-alert/domains/BatchJobTest_d_id_632620",
29 "type": "application/vnd.sas.investigation.triage.domain"
30 },
31 {
32 "method": "GET",
33 "rel": "strategy",
34 "href": "/svi-alert/strategies/strategy_15038818",
35 "uri": "/svi-alert/strategies/strategy_15038818",
36 "type": "application/vnd.sas.investigation.triage.strategy"
37 }
38 ],
39 "modifiedBy": "videmo",
40 "modifiedTimeStamp": "2024-04-09T09:38:12.336Z",
41 "queueDescription": "Default Queue for BatchJobTest_d_name_632620",
42 "queueId": "queue_24431382",
43 "queueName": "Default Queue for BatchJobTest_d_name_632620",
44 "queuePriority": 32767,
45 "queueStatus": "ACTIVE",
46 "queueSticky": false,
47 "strategyId": "strategy_15038818",
48 "suppressDefaultDuration": 0,
49 "userCreatedQueue": false,
50 "version": 1
51}

Header Parameters

NameTypeRequiredDescription
Accept-Item
string
false

Specifies the media type of the items returned.

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

Request Body

A queue representation.

NameTypeRequiredDescription
domainId
string
false
<= 36 characters
queueId
string
false
<= 36 characters
queueName
string
false
<= 100 characters
queueDescription
string
false
<= 500 characters
userCreatedQueue
boolean
false
queuePriority
integer
false
queueStatus
string
false
<= 20 characters
serviceSortField
string
false
<= 1000 characters
serviceSortOrder
string
false
<= 1000 characters
suppressDefaultDuration
integer
false
holdDefaultDuration
integer
false
queueAutoCloseDays
integer
false
queueAutoActivateScore
integer
false
queueAutoActivateDelta
integer
false
defaultProcessId
string
false
<= 36 characters
queueSticky
boolean
false
acceptManualAlerts
boolean
false
strategyId
string
false
<= 36 characters
dispositions
array [dispositionqueueRep]
false

A disposition queue representation.

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

A link representation.

Responses

StatusMeaningDescription
201Created

A queue was created.

HeadersSchema
400Bad Request

The request was invalid

Schema
409Conflict

The request could not be completed due to a conflict with the current state of the queue.

Schema
500Internal Server Error

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

Schema