PUT - Group Call Center
In this method, you can control the status of your Call Centers (CC) by activating and deactivating them. The method takes in two parameters, they are a list of the CC service user IDs and a status which is a boolean value of True (Active) or False (Deactivate).
Parameters
call_center_user_ids(list): List of service user IDs (CC IDs), the status given will be applied to these.
status (bool): Boolean value of True (Activate) or False (Deactivate) which will be applied to list of AAs.
Returns
None: This method does not return any specific value.
How To Use:
The below code will set the AA to deactivated.
my_changes = {
"serviceInstanceProfile": {
"name": "[email protected]",
"callingLineIdLastName": "[email protected]",
"callingLineIdFirstName": "[email protected]",
"hiraganaLastName": "[email protected]",
"hiraganaFirstName": "Call Center",
},
"type": "Premium",
"routingType": "Priority Based",
"policy": "Circular",
"enableVideo": False,
}
my_api.call_centers.put_group_call_center(
call_center_user_id = "[email protected]",
updates=my_changes
)
Last updated
Was this helpful?