Retrieve a collection of call queues member state
Path parameters
- 
                            
access_tokenstring
required
token to be passed as a header - 
                            
idinteger
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_membersarray
Show child attributes - 
                                
countinteger
 
Sample Response
                      
{
    "count": 100
}
                      
                    
                  Update call queue
Path parameters
- 
                            
access_tokenstring
required
token to be passed as a header 
Request body
application/json
- 
                                
languagestring
required
language. - 
                                
notify_when_callback_ismadeboolean
required
notify_when_callback_ismade. - 
                                
max_callersinteger
required
The maximum number of callers allowed in queue. - 
                                
notify_when_callback_failsboolean
required
notify_when_callback_fails. - 
                                
notify_when_slatime_breachedboolean
required
Notify Queue manager via email when SLA time has been Breached. - 
                                
idinteger
required
The ID of the call queue. - 
                                
intro_prompt_metadata_idinteger
required
intro_prompt_metadata_id. - 
                                
max_wait_timeinteger
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_idstring
required
Call queue's outbound caller id. - 
                                
sla_timeinteger
required
 - 
                                
enable_announce_caller_positionboolean
required
Queue will announce the actual position of the caller who's currently waiting in the queue. - 
                                
enable_intro_promptboolean
required
enable play intro prompt. - 
                                
forwardobject
required
Show child attributes - 
                                
enable_play_full_introboolean
required
enable play full intro prompt. - 
                                
enable_black_list_promptboolean
required
enable play blacklist prompt. - 
                                
ring_timeinteger
required
Duration that each extension will ring, in seconds. - 
                                
announce_caller_position_intervalinteger
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. - 
                                
namestring
required
Call queue's name. - 
                                
black_list_metadata_idinteger
required
black_list_metadata_id. - 
                                
blacklistarray
required
 - 
                                
skip_busy_memberboolean
required
Indicates if extension members on call will be skipped. - 
                                
polling_strategystring
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_membersarray
required
Extension managers in current call queue. - 
                                
notify_when_queuecall_islostboolean
required
Notify Queue Manager when a Queue call is lost. - 
                                
membersarray
required
Extension ids in current call queue. - 
                                
moh_metadata_idinteger
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_tokenstring
required
token to be passed as a header 
Request body
application/json
- 
                                
idinteger
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_tokenstring
required
token to be passed as a header - 
                            
idinteger
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_membersarray
Show child attributes - 
                                
notify_when_callback_ismadeboolean
notify_when_callback_ismade. - 
                                
intro_prompt_fileidstring
intro_prompt file download id. - 
                                
max_callersinteger
The maximum number of callers allowed in queue. - 
                                
notify_when_callback_failsboolean
notify_when_callback_fails. - 
                                
blacklistarray
Show child attributes - 
                                
black_list_fileidstring
blacklist file download ID. - 
                                
notify_when_slatime_breachedboolean
Notify Queue manager via email when SLA time has been Breached. - 
                                
black_list_filenamestring
blacklist filename - 
                                
intro_prompt_metadata_idinteger
intro_prompt_metadata_id. - 
                                
max_wait_timeinteger
The maximum time limit for waiting in the queue, in seconds. After this time interval, the call will be handled as pre-configured. - 
                                
moh_filenamestring
moh_filename - 
                                
intro_prompt_filenamestring
intro_prompt_filename. - 
                                
outbound_caller_idstring
Call queue's outbound caller id. - 
                                
sla_timeinteger
 - 
                                
enable_announce_caller_positionboolean
Queue will announce the actual position of the caller who's currently waiting in the queue. - 
                                
idinteger
The ID of the call queue. - 
                                
enable_intro_promptboolean
enable play intro prompt. - 
                                
forwardobject
Show child attributes - 
                                
enable_play_full_introboolean
enable play full intro prompt. - 
                                
languagestring
language. - 
                                
moh_fileidstring
Music ON Hold file download ID. - 
                                
ring_timeinteger
Duration that each extension will ring, in seconds. - 
                                
announce_caller_position_intervalinteger
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. - 
                                
namestring
Call queue's name. - 
                                
black_list_metadata_idinteger
black_list_metadata_id. - 
                                
enable_black_list_promptboolean
enable play blacklist prompt. - 
                                
polling_strategystring
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_islostboolean
Notify Queue Manager when a Queue call is lost. - 
                                
extension_numberstring
Call queue's extension number. - 
                                
membersarray
Show child attributes - 
                                
moh_metadata_idinteger
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_tokenstring
required
token to be passed as a header 
Request body
application/json
- 
                                
blacklist_idsarray
required
blacklist ids. - 
                                
idinteger
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_tokenstring
required
token to be passed as a header - 
                            
paginationinteger
required
The pagination of paging. - 
                            
pagesizeinteger
required
The size of paging. - 
                            
sort_bystring
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
- 
                                
pagesizeinteger
 - 
                                
countinteger
 - 
                                
queuesarray
Show child attributes - 
                                
paginationinteger
 - 
                                
sort_bystring
 
Sample Response
                      
{
    "pagesize": 10,
    "count": 100,
    "pagination": 8,
    "sort_by": "DEFAULT"
}
                      
                    
                  Retrieve a collection of call wait queues
Path parameters
- 
                            
access_tokenstring
required
token to be passed as a header - 
                            
idinteger
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_membersarray
Show child attributes - 
                                
countinteger
 
Sample Response
                      
{
    "count": 100
}
                      
                    
                  call queue anwser specified call
Path parameters
- 
                            
access_tokenstring
required
token to be passed as a header 
Request body
application/json
- 
                                
session_idinteger
required
The ID of the session. - 
                                
manager_idinteger
required
The ID of the extension. - 
                                
idinteger
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_tokenstring
required
token to be passed as a header - 
                            
idinteger
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_membersarray
Show child attributes - 
                                
countinteger
 
Sample Response
                      
{
    "count": 100
}
                      
                    
                  Create call queue
Path parameters
- 
                            
access_tokenstring
required
token to be passed as a header 
Request body
application/json
- 
                                
languagestring
required
language. - 
                                
notify_when_callback_ismadeboolean
required
notify_when_callback_ismade. - 
                                
max_callersinteger
required
The maximum number of callers allowed in queue. - 
                                
notify_when_callback_failsboolean
required
notify_when_callback_fails. - 
                                
notify_when_slatime_breachedboolean
required
Notify Queue manager via email when SLA time has been Breached. - 
                                
intro_prompt_metadata_idinteger
required
intro_prompt_metadata_id. - 
                                
max_wait_timeinteger
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_idstring
required
Call queue's outbound caller id. - 
                                
sla_timeinteger
required
 - 
                                
enable_announce_caller_positionboolean
required
Queue will announce the actual position of the caller who's currently waiting in the queue. - 
                                
enable_intro_promptboolean
required
enable play intro prompt. - 
                                
forwardobject
required
Show child attributes - 
                                
enable_play_full_introboolean
required
enable play full intro prompt. - 
                                
enable_black_list_promptboolean
required
enable play blacklist prompt. - 
                                
ring_timeinteger
required
Duration that each extension will ring, in seconds. - 
                                
announce_caller_position_intervalinteger
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. - 
                                
namestring
required
Call queue's name. - 
                                
black_list_metadata_idinteger
required
black_list_metadata_id. - 
                                
blacklistarray
required
 - 
                                
skip_busy_memberboolean
required
Indicates if extension members on call will be skipped. - 
                                
polling_strategystring
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_membersarray
required
Extension managers in current call queue. - 
                                
notify_when_queuecall_islostboolean
required
Notify Queue Manager when a Queue call is lost. - 
                                
moh_metadata_idinteger
required
Music ON Hold file metadata ID. - 
                                
membersarray
required
Extension ids in current call queue. - 
                                
extension_numberstring
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
- 
                                
idinteger
The ID of the call queue. 
Sample Response
                      
{
    "id": 1234
}
                      
                    
                  Update call queue member_state
Path parameters
- 
                            
access_tokenstring
required
token to be passed as a header 
Request body
application/json
- 
                                
statusboolean
required
is_logined. - 
                                
extension_idinteger
required
The ID of the extension. - 
                                
idinteger
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_tokenstring
required
token to be passed as a header 
Request body
application/json
- 
                                
idinteger
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_tokenstring
required
token to be passed as a header 
Request body
application/json
- 
                                
descriptionstring
required
 - 
                                
numberstring
required
Call queue's extension number. - 
                                
idinteger
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
- 
                                
idinteger
The ID of the blacklist. 
400
                      Sample Response
                      
{}