Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeConfluence
{
	"destination": "Destination number", // required
		"from": {
		"extension": "ExtensionsAgent's Extension" // required
	},
	"params": {
		"audio": true,
		"auto_answer": true,
		"record": true,
		"variables": {
			"additionalProp1": "string", // Additional variables for the client can be used for statistics and outgoing call routing.
			"additionalProp2": "string",
			"additionalProp3": "string"
		}
	}
}

...

To load Members into the Dialer concerning a particular Agent, you must use the Bucket. A Bucket is created for each Agent for which a Member must be bound. Thus, when downloading a Member, the Bucket of the responsible Agent is indicated. To do this, use the POST request block:

Code Block
titleAn example of Soft and Precollection dialers
{
	"items": [
		{
			"communications": [
				{
					"description": "Description1", //a field to which you can pass data on a particular destination. This description can be sent in hooks when calling.
					"destination": "Destination", //number or another edition means of communication 
					"priority": 0, // The priority of the destination within the Member. Works when there are several numbers within one communications array.
					"type": {
						"id": "1"
					}
				}
			],
					"expire_at": "string", // dialer termination time for this Member, timestamp (end of the current day) 
				"name": "Member1",
				"priority": 1,  // Member priority within the same Queue.
				"variables": {
					"additionalProp1": "string", // additional variables for the client, which can be used for statistics and are available for sending to a third-party system by event
					"additionalProp2": "string",
					"additionalProp3": "string"
				}
			},
				{
					"communications": [
					{
						"description": "Description1",
						"destination": "Destination",
						"priority": 0,
						"type": {
						"id": "1"
						}
					},
		{
					"description": "Description1",
					"destination": "Destination",
					"priority": 0,
					"type": {
						"id": "1"
					}
				},
	{
					"description": "Description2",
					"destination": "Destination",
					"priority": 10, 
					"type": {
						"id": "2"
					}
				}
			],
				"expire_at": "string",
			"name": "Member2",
			"priority": 100,
			"variables": {
				"additionalProp1": "string",
				"additionalProp2": "string",
				"additionalProp3": "string"
			}
		}
	]
}