SQ_GetAgentsRequest
Props
applicationId: number
Application ID to search by
applicationName: string
Application name to search by. Can be used instead of application_id
count: number
Number of items to show in the output
excludedSqQueueId: number
ID of the SmartQueue to exclude
excludedSqQueueName: string
Name of the SmartQueue to exclude. Can be used instead of excluded_sq_queue_id
handleCalls: boolean
Whether the agent can handle calls. When set to false, the agent is excluded from the CALL-request distribution
offset: number
Number of items to skip in the output
sqQueueId: number
| number[]
| any
List of SmartQueue IDs separated by semicolons (;). Use 'all' to select all the queues
sqQueueName: string
| string[]
List of SmartQueue names separated by semicolons (;). Can be used instead of sq_queue_id
sqSkills: string
Skills to filter in the JSON array format. The array should contain objects with the sq_skill_id/sq_skill_name, min_sq_skill_level, and max_sq_skill_level keys where skill levels range from 1 to 5
sqStatuses: string
Filter statuses in the JSON array format. The array should contain objects with the sq_status_type and sq_status_name keys. Possible values for sq_status_type are 'CALL' and 'IM'. Possible values for sq_status_name are 'OFFLINE', 'ONLINE', 'READY', 'IN_SERVICE', 'AFTER_SERVICE', 'DND'
userId: number
| number[]
| any
List of user IDs separated by semicolons (;)
userName: string
| string[]
List of user names separated by semicolons (;). Can be used instead of user_id
userNameTemplate: string
Substring of the user name to filter
withSqQueues: boolean
Whether to display agent queues
withSqSkills: boolean
Whether to display agent skills
withSqStatuses: boolean
Whether to display agent current statuses