<back to all web services
CreateQueue
The following routes are available for this service:| POST | /messagequeue/rabbit/create/queue | | |
|---|
CreateQueue Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| queue | body | TypeMQBrokerQueue | No | |
TypeMQBrokerQueue Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Name | form | string | No | |
| DataCenterCode | form | string | No | |
| Retry | form | int | No | |
| Action | form | string | No | |
| IsPassive | form | bool | No | |
| Properties | form | Dictionary<string, string> | No | |
| Arguments | form | Dictionary<string, Object> | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /messagequeue/rabbit/create/queue HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CreateQueue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/N3TAPI.Services">
<queue xmlns:d2p1="http://schemas.datacontract.org/2004/07/N3TDataBroker.Models">
<d2p1:Action>String</d2p1:Action>
<d2p1:Arguments xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</d2p1:Arguments>
<d2p1:DataCenterCode>String</d2p1:DataCenterCode>
<d2p1:IsPassive>false</d2p1:IsPassive>
<d2p1:Name>String</d2p1:Name>
<d2p1:Properties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Properties>
<d2p1:Retry>0</d2p1:Retry>
</queue>
</CreateQueue>