getACDGroup
Get group
Retrieve information about a specific ACD/Attendant group for a user.<br><br><i>NOTE: This method is DEPRECATED and will be removed in future releases.</i>
/user/acd-attendant-group/{domain}/{user}/{group}
Usage and SDK Samples
curl -X GET\
-H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json,application/xml"\
"/api//user/acd-attendant-group/{domain}/{user}/{group}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ACDAttendantGroupApi;
import java.io.File;
import java.util.*;
public class ACDAttendantGroupApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
ACDAttendantGroupApi apiInstance = new ACDAttendantGroupApi();
String domain = domain_example; // String |
String user = user_example; // String |
Long group = 789; // Long |
try {
group result = apiInstance.getACDGroup(domain, user, group);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ACDAttendantGroupApi#getACDGroup");
e.printStackTrace();
}
}
}
import io.swagger.client.api.ACDAttendantGroupApi;
public class ACDAttendantGroupApiExample {
public static void main(String[] args) {
ACDAttendantGroupApi apiInstance = new ACDAttendantGroupApi();
String domain = domain_example; // String |
String user = user_example; // String |
Long group = 789; // Long |
try {
group result = apiInstance.getACDGroup(domain, user, group);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ACDAttendantGroupApi#getACDGroup");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
String *domain = domain_example; //
String *user = user_example; //
Long *group = 789; //
ACDAttendantGroupApi *apiInstance = [[ACDAttendantGroupApi alloc] init];
// Get group
[apiInstance getACDGroupWith:domain
user:user
group:group
completionHandler: ^(group output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var TelepoApi = require('telepo_api');
var defaultClient = TelepoApi.ApiClient.instance;
var api = new TelepoApi.ACDAttendantGroupApi()
var domain = domain_example; // {{String}}
var user = user_example; // {{String}}
var group = 789; // {{Long}}
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.getACDGroup(domain, user, group, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class getACDGroupExample
{
public void main()
{
var apiInstance = new ACDAttendantGroupApi();
var domain = domain_example; // String |
var user = user_example; // String |
var group = 789; // Long |
try
{
// Get group
group result = apiInstance.getACDGroup(domain, user, group);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ACDAttendantGroupApi.getACDGroup: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiACDAttendantGroupApi();
$domain = domain_example; // String |
$user = user_example; // String |
$group = 789; // Long |
try {
$result = $api_instance->getACDGroup($domain, $user, $group);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ACDAttendantGroupApi->getACDGroup: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ACDAttendantGroupApi;
my $api_instance = WWW::SwaggerClient::ACDAttendantGroupApi->new();
my $domain = domain_example; # String |
my $user = user_example; # String |
my $group = 789; # Long |
eval {
my $result = $api_instance->getACDGroup(domain => $domain, user => $user, group => $group);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ACDAttendantGroupApi->getACDGroup: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ACDAttendantGroupApi()
domain = domain_example # String |
user = user_example # String |
group = 789 # Long |
try:
# Get group
api_response = api_instance.get_acd_group(domain, user, group)
pprint(api_response)
except ApiException as e:
print("Exception when calling ACDAttendantGroupApi->getACDGroup: %s\n" % e)
Parameters
Name | Description |
---|---|
domain* |
String
Required
|
user* |
String
Required
|
group* |
Long
(int64)
Required
|