Retrieve a collection of call queues member state
Path parameters
-
access_token
string
required
token to be passed as a header -
id
integer
required
The call queue's ID.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call_queues/member_state/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
application/json
-
wait_members
array
-
count
integer
Sample Response
{
"count": 100
}
Update call queue
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
language
string
required
language. -
notify_when_callback_ismade
boolean
required
notify_when_callback_ismade. -
max_callers
integer
required
The maximum number of callers allowed in queue. -
notify_when_callback_fails
boolean
required
notify_when_callback_fails. -
notify_when_slatime_breached
boolean
required
Notify Queue manager via email when SLA time has been Breached. -
id
integer
required
The ID of the call queue. -
intro_prompt_metadata_id
integer
required
intro_prompt_metadata_id. -
max_wait_time
integer
required
The maximum time limit for waiting in the queue, in seconds. After this time interval, the call will be handled as pre-configured. -
outbound_caller_id
string
required
Call queue's outbound caller id. -
sla_time
integer
required
-
enable_announce_caller_position
boolean
required
Queue will announce the actual position of the caller who's currently waiting in the queue. -
enable_intro_prompt
boolean
required
enable play intro prompt. -
forward
object
required
-
enable_play_full_intro
boolean
required
enable play full intro prompt. -
enable_black_list_prompt
boolean
required
enable play blacklist prompt. -
ring_time
integer
required
Duration that each extension will ring, in seconds. -
announce_caller_position_interval
integer
required
Time interval for repeating announcement of the waiting position, in seconds. This parameter will be available only if it's enabled to announce position to caller. -
name
string
required
Call queue's name. -
black_list_metadata_id
integer
required
black_list_metadata_id. -
blacklist
array
required
-
skip_busy_member
boolean
required
Indicates if extension members on call will be skipped. -
polling_strategy
string
required
RING_SIMULTANEOUSLY: Ring Simultaneously. PRIORITIZED_HUNT: Prioritized Hunt. CYCLIC_HUNT: Cyclic Hunt. LEAST_WORKED_HUNT: To ring extension who has least answering hours. PAGING/INTERCOM: Paging or Intercom. RING_SIMULTANEOUSLY: To ring all the extensions simultaneously. -
queue_manager_members
array
required
Extension managers in current call queue. -
notify_when_queuecall_islost
boolean
required
Notify Queue Manager when a Queue call is lost. -
members
array
required
Extension ids in current call queue. -
moh_metadata_id
integer
required
Music ON Hold file metadata ID.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/call_queues/update \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"notify_when_callback_ismade": "tue",
"max_callers": 123,
"enable_play_full_intro": false,
"notify_when_slatime_breached": true,
"id": 1234,
"intro_prompt_metadata_id": 123,
"max_wait_time": 123,
"outbound_caller_id": "1234",
"sla_time": 123,
"enable_announce_caller_position": true,
"enable_intro_prompt": false,
"language": "ch",
"notify_when_callback_fails": true,
"ring_time": 123,
"announce_caller_position_interval": 123,
"name": "1234",
"black_list_metadata_id": 123,
"enable_black_list_prompt": false,
"skip_busy_member": false,
"polling_strategy": "RING_SIMULTANEOUSLY",
"notify_when_queuecall_islost": true,
"moh_metadata_id": 123
}'
Responses
200
Sample Response
call queue delete all blacklist
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
id
integer
required
The ID of the call queue.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/call_queues/blacklist/destroy_all \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"id": 1234
}'
Responses
404
200
400
Sample Response
Retrieve call queue
Path parameters
-
access_token
string
required
token to be passed as a header -
id
integer
required
The call queue's ID.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call_queues/show \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
application/json
-
queue_manager_members
array
-
notify_when_callback_ismade
boolean
notify_when_callback_ismade. -
intro_prompt_fileid
string
intro_prompt file download id. -
max_callers
integer
The maximum number of callers allowed in queue. -
notify_when_callback_fails
boolean
notify_when_callback_fails. -
blacklist
array
-
black_list_fileid
string
blacklist file download ID. -
notify_when_slatime_breached
boolean
Notify Queue manager via email when SLA time has been Breached. -
black_list_filename
string
blacklist filename -
intro_prompt_metadata_id
integer
intro_prompt_metadata_id. -
max_wait_time
integer
The maximum time limit for waiting in the queue, in seconds. After this time interval, the call will be handled as pre-configured. -
moh_filename
string
moh_filename -
intro_prompt_filename
string
intro_prompt_filename. -
outbound_caller_id
string
Call queue's outbound caller id. -
sla_time
integer
-
enable_announce_caller_position
boolean
Queue will announce the actual position of the caller who's currently waiting in the queue. -
id
integer
The ID of the call queue. -
enable_intro_prompt
boolean
enable play intro prompt. -
forward
object
-
enable_play_full_intro
boolean
enable play full intro prompt. -
language
string
language. -
moh_fileid
string
Music ON Hold file download ID. -
ring_time
integer
Duration that each extension will ring, in seconds. -
announce_caller_position_interval
integer
Time interval for repeating announcement of the waiting position, in seconds. This parameter will be available only if it's enabled to announce position to caller. -
name
string
Call queue's name. -
black_list_metadata_id
integer
black_list_metadata_id. -
enable_black_list_prompt
boolean
enable play blacklist prompt. -
polling_strategy
string
RING_SIMULTANEOUSLY: Ring Simultaneously. PRIORITIZED_HUNT: Prioritized Hunt. CYCLIC_HUNT: Cyclic Hunt. LEAST_WORKED_HUNT: To ring extension who has least answering hours. PAGING/INTERCOM: Paging or Intercom. RING_SIMULTANEOUSLY: To ring all the extensions simultaneously. -
notify_when_queuecall_islost
boolean
Notify Queue Manager when a Queue call is lost. -
extension_number
string
Call queue's extension number. -
members
array
-
moh_metadata_id
integer
Music ON Hold file metadata ID.
Sample Response
{
"notify_when_callback_ismade": "tue",
"intro_prompt_fileid": "123",
"max_callers": 123,
"enable_play_full_intro": false,
"black_list_fileid": "123",
"notify_when_slatime_breached": true,
"id": 1234,
"intro_prompt_metadata_id": 123,
"max_wait_time": 123,
"moh_filename": "123",
"black_list_metadata_id": 123,
"outbound_caller_id": "1234",
"sla_time": 123,
"enable_announce_caller_position": true,
"name": "1234",
"enable_intro_prompt": false,
"language": "ch",
"notify_when_callback_fails": true,
"moh_fileid": "123",
"ring_time": 123,
"announce_caller_position_interval": 123,
"black_list_filename": "123",
"intro_prompt_filename": "filename",
"enable_black_list_prompt": false,
"polling_strategy": "RING_SIMULTANEOUSLY",
"notify_when_queuecall_islost": true,
"moh_metadata_id": 123,
"extension_number": "1234"
}
call queue delete blacklist
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
blacklist_ids
array
required
blacklist ids. -
id
integer
required
The ID of the call queue.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/call_queues/blacklist/destroy \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"id": 1234
}'
Responses
404
200
400
Sample Response
Retrieve a collection of call queues
Path parameters
-
access_token
string
required
token to be passed as a header -
pagination
integer
required
The pagination of paging. -
pagesize
integer
required
The size of paging. -
sort_by
string
optional
Values include "DEFAULT" and "Optional". Default value will be used when user does not specify value for this field.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call_queues/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
application/json
-
pagesize
integer
-
count
integer
-
queues
array
-
pagination
integer
-
sort_by
string
Sample Response
{
"pagesize": 10,
"count": 100,
"pagination": 8,
"sort_by": "DEFAULT"
}
Retrieve a collection of call wait queues
Path parameters
-
access_token
string
required
token to be passed as a header -
id
integer
required
The call queue's ID.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call_queues/wait/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
application/json
-
wait_members
array
-
count
integer
Sample Response
{
"count": 100
}
call queue anwser specified call
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
session_id
integer
required
The ID of the session. -
manager_id
integer
required
The ID of the extension. -
id
integer
required
The ID of the call queue.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/call_queues/specifiedcall/anwser \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"session_id": 1234,
"manager_id": 1234,
"id": 1234
}'
Responses
404
200
400
Sample Response
Retrieve a collection of call queues blacklist
Path parameters
-
access_token
string
required
token to be passed as a header -
id
integer
required
The call queue's ID.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call_queues/blacklist/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
application/json
-
wait_members
array
-
count
integer
Sample Response
{
"count": 100
}
Create call queue
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
language
string
required
language. -
notify_when_callback_ismade
boolean
required
notify_when_callback_ismade. -
max_callers
integer
required
The maximum number of callers allowed in queue. -
notify_when_callback_fails
boolean
required
notify_when_callback_fails. -
notify_when_slatime_breached
boolean
required
Notify Queue manager via email when SLA time has been Breached. -
intro_prompt_metadata_id
integer
required
intro_prompt_metadata_id. -
max_wait_time
integer
required
The maximum time limit for waiting in the queue, in seconds. After this time interval, the call will be handled as pre-configured. -
outbound_caller_id
string
required
Call queue's outbound caller id. -
sla_time
integer
required
-
enable_announce_caller_position
boolean
required
Queue will announce the actual position of the caller who's currently waiting in the queue. -
enable_intro_prompt
boolean
required
enable play intro prompt. -
forward
object
required
-
enable_play_full_intro
boolean
required
enable play full intro prompt. -
enable_black_list_prompt
boolean
required
enable play blacklist prompt. -
ring_time
integer
required
Duration that each extension will ring, in seconds. -
announce_caller_position_interval
integer
required
Time interval for repeating announcement of the waiting position, in seconds. This parameter will be available only if it's enabled to announce position to caller. -
name
string
required
Call queue's name. -
black_list_metadata_id
integer
required
black_list_metadata_id. -
blacklist
array
required
-
skip_busy_member
boolean
required
Indicates if extension members on call will be skipped. -
polling_strategy
string
required
RING_SIMULTANEOUSLY: Ring Simultaneously. PRIORITIZED_HUNT: Prioritized Hunt. CYCLIC_HUNT: Cyclic Hunt. LEAST_WORKED_HUNT: To ring extension who has least answering hours. PAGING/INTERCOM: Paging or Intercom. RING_SIMULTANEOUSLY: To ring all the extensions simultaneously. -
queue_manager_members
array
required
Extension managers in current call queue. -
notify_when_queuecall_islost
boolean
required
Notify Queue Manager when a Queue call is lost. -
moh_metadata_id
integer
required
Music ON Hold file metadata ID. -
members
array
required
Extension ids in current call queue. -
extension_number
string
required
Call queue's extension number.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/call_queues/create \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"notify_when_callback_ismade": "tue",
"max_callers": 123,
"enable_play_full_intro": false,
"notify_when_slatime_breached": true,
"intro_prompt_metadata_id": 123,
"max_wait_time": 123,
"outbound_caller_id": "1234",
"sla_time": 123,
"enable_announce_caller_position": true,
"enable_intro_prompt": false,
"language": "ch",
"notify_when_callback_fails": true,
"ring_time": 123,
"announce_caller_position_interval": 123,
"name": "1234",
"black_list_metadata_id": 123,
"enable_black_list_prompt": false,
"skip_busy_member": false,
"polling_strategy": "RING_SIMULTANEOUSLY",
"notify_when_queuecall_islost": true,
"extension_number": "1234",
"moh_metadata_id": 123
}'
Responses
200
application/json
-
id
integer
The ID of the call queue.
Sample Response
{
"id": 1234
}
Update call queue member_state
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
status
boolean
required
is_logined. -
extension_id
integer
required
The ID of the extension. -
id
integer
required
The ID of the call queue.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/call_queues/member_state/update \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"extension_id": 1234,
"id": 1234
}'
Responses
404
200
400
Sample Response
Destroy call queue
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
id
integer
required
The ID of the call queue.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/call_queues/destroy \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"id": 1234
}'
Responses
404
200
400
Sample Response
call queue add blacklist
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
description
string
required
-
number
string
required
Call queue's extension number. -
id
integer
required
The ID of the call queue.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/call_queues/blacklist/create \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"description": "c description",
"number": "1234",
"id": 1234
}'
Responses
404
200
application/json
-
id
integer
The ID of the blacklist.
400
Sample Response
{}