1. Home
  2. Docs
  3. API Documentation
  4. Queue
  5. MakeQueuePriority

MakeQueuePriority

Route: https://api.cytrix.io/MakeQueuePriority

Using this feature will allow you to set priority to each queue.

Roles Required: Admin and User.

Request Syntax

{

    "apiKey": "String",     "status": True|False,
    "qToken": "String"

}

Request Parameters

Parameters being used in the Request

Parameter Name :

apiKey

Parameter Usage and Options :

Your CYTRIX given API Key.

How do I get it ? :

Located in the “Profile” section.

Note : by default, the “API Status” is enabled, unless, the Admin has disabled it in the “Server Settings” section.

Type :

String

Is it Optional ? :

No.


Parameter Name :
qToken

Parameter Usage and Options :

The queue’s token

How do I get it ? :

You can also use the “GetQueue” functions.

Type :

String

Is it Optional ? :

o.


Parameter Name :
status

Parameter Usage and Options :

If the status will be true or false

Type :

Boolean

Is it Optional ? :

No.


Successful Response



{
    "Error": 0,
    "Function": "GetVulnById",
    "Data": "Queue Priority Updated"
}

Errors and their Possible Causes

For more information, please refer to the General Errors section.