/ACD/Agents GET v1
https://api.callone.de/v1000/json/
/
/
ACD/Agents
{
"version": {
"used": "v1000",
"expire": "none",
"new_available": "v1000"
},
"response": {
"count": 2,
"data": [
{
"id": 12345, /* Unique Agent ID */
"name": "Jon Doe", /* Name of Agent */
"pin": "918273", /* Password of Agent */
"external_id": "0011223344", /* External CRM User ID, forwarded by CallConnect API */
"status": {
"id": 1, /* Current status ID of Agent */
"name": "Verfügbar", /* Current status name of Agent (german) */
"message": "Ready to Rumble" /* User defined status message */
},
"supervisor": true, /* Supervisor permission */
"destination": "0001000001", /* Linked VOIP endpoint */
"settings": {
"inbound": {
"na": 30 /* Postprocessing Time for Inbound Calls */
},
"outbound": {
"na": 60 /* Postprocessing Time for Outbound Calls */
"skill_group": 1234 /* Selected Outbound Skill Group ID */
}
},
"description": null /* Additional agent description */
},
{
"id": 12346, /* Unique Agent ID */
"name": "Jane Doe", /* Name of Agent */
"pin": "827364", /* Password of Agent */
"external_id": "1122334455", /* External CRM User ID, forwarded by CallConnect API */
"status": {
"id": 6, /* Current status ID of Agent */
"name": "Nicht Verfügbar", /* Current status name of Agent (german) */
"message": null /* User defined status message */
},
"supervisor": false, /* Supervisor permission */
"destination": "0001000002", /* Linked VOIP endpoint */
"settings": {
"inbound": {
"na": 30 /* Postprocessing Time for Inbound Calls */
},
"outbound": {
"na": 60 /* Postprocessing Time for Outbound Calls */
"skill_group": null /* Selected Outbound Skill Group ID */
}
},
"description": null /* Additional agent description */
}
]
}
}
curl -X GET "https://api.callone.de/v1000/json///ACD/Agents" -d ""
<?php
$api_parameters = array ();
$url = 'https://api.callone.de/v1000/json///ACD/Agents?'.http_build_query ($api_parameters, '', '&');
$ch = curl_init ();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt ($ch, CURLOPT_HTTPHEADER, array ('Content-Type: application/json; charset=utf-8'));
$response_json = curl_exec ($ch);
curl_close ($ch);
?>
import requests
api_parameters = {}
url = 'https://api.callone.de/v1000/json///ACD/Agents'
response_json = requests.get (url, data=api_parameters)
/ACD/Agents POST v1
https://api.callone.de/v1000/json/
/
/
ACD/Agents
curl -X POST "https://api.callone.de/v1000/json///ACD/Agents" -d ""
<?php
$api_parameters = array ();
$url = 'https://api.callone.de/v1000/json///ACD/Agents';
$ch = curl_init ();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt ($ch, CURLOPT_POSTFIELDS, json_encode ($api_parameters));
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt ($ch, CURLOPT_HTTPHEADER, array ('Content-Type: application/json; charset=utf-8'));
$response_json = curl_exec ($ch);
curl_close ($ch);
?>
import requests
api_parameters = {}
url = 'https://api.callone.de/v1000/json///ACD/Agents'
response_json = requests.post (url, data=api_parameters)
/ACD/Agents/AID GET v1
https://api.callone.de/v1000/json/
/
/
ACD/Agents/
AIDcurl -X GET "https://api.callone.de/v1000/json///ACD/Agents/AID" -d ""
<?php
$api_parameters = array ();
$url = 'https://api.callone.de/v1000/json///ACD/Agents/AID?'.http_build_query ($api_parameters, '', '&');
$ch = curl_init ();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt ($ch, CURLOPT_HTTPHEADER, array ('Content-Type: application/json; charset=utf-8'));
$response_js