[COMMAND]
Updating Values for a Queue
The provisioning_set_values
command can be used to update one or more details about a single queue.
To identify which queue to update, you will need to specify either:
- Its
id
. - Its
external_id
andexternal_id_type
(if applicable).
Parameters
tablerequired |
string |
Set this to |
idrequired |
string |
The unique ID automatically assigned to the intended queue when it was created. If you prefer to identify the queue using its third party |
external_idrequired |
string |
If a third-party has assigned their own ID to the intended queue, you can use it to identify the queue here. For this to work, you will also need to specify the third party using the If you use this parameter, you do not need to also provide an |
external_id_typerequired |
string |
Only needed if you are identifying the queue using its |
names_and_valuesrequired |
array (string) |
An array containing the information you want to update. Each entry in this array should consist of the following paired items:
|
request_idoptional |
string |
If specified, this value will be returned as part of the response event. It can be used to help a calling application associate a request with its response. |
Example Request
{"command": {"command_type": "provisioning_set_values","table": "ut_operatorQueue", "id":182382, "names_and_values": [ {"name":"ops1groupList", "value":"6140"},{"name":"ops2groupList", "value":""}, {"name":"ops3groupList", "value":"6092"} ]}}
Responses
On Success:
After a successful update, a provisioning_values
event is returned containing details of the updated queue.
On Failure:
Failure to update the chosen queue will cause a provisioning_error
event, containing an error code as well as a description of what went wrong.