Description
ExternalTaskIdstring

Any identifier of the future task in any format. Can be used later to refer to the created task.
Optional parameter. One restriction here: if defined, it should be unique across all the already existing tasks.

Servicestring

The Identifier of a Service this task is creating for:
Guid - ServiceId or service SipUri can be used as service identifier here.

Callerstring

Any representation of the client (who perform the call in to a call center) - sip, first name/last name or anything else
Will be used to show this information to an Agent.

PreferredAgents

A list of preferred agents to be used first (for task assignment).
As an agent identifier can be used: Id(guid string), Sam, Sid, Username, UserPrincipalName.
If no agents found and "ConsiderPreferredAgentsOnly" is not provided(=false),
operation will continue with other agents.

string]
ConsiderPreferredAgentsOnly*boolean

If provided as true - search for agent algorithm will use only "PreferredAgents" list.
If true, PreferredAgents should contain at leas one agent.

Required
description:

The capabilities agent should have to be able to take this task.

Im*boolean
Audio*boolean
Video*boolean
DesktopSharing*boolean
ConversationContext*boolean
DistributeToAgent*boolean

Show request on Agent's side to "Accept" or "Decline" task (require agent to have AgentAssistant installed).

DistributeToAgentRONATimeoutInSecondsinteger($int32)
The timeout in seconds after which the agent will be put into a RONA state if not accepted or declined the task.