PUT - Group Hunt Group Weighted Call Distribution
Update the Weighted Call Distribution (WCD) between users in a Hunt Group (HG).
Note: All weightings need to equal 100.
Parameters
service_provider_id (str): Service provider ID where the group is located.
group_id (type): Group ID where the HG is located.
hunt_group_user_id (str): Service user ID of the target HG.
agents (dict): Updates of WCD to be applied to HG.
Raises
AOInvalidWeighting: The WCD must equal 100 if it does not this error will be returned.
Returns
None: This method does not return any specific value.
How To Use:
my_service_provider_id = "serviceProviderId"
my_group_id = "groupId"
my_hunt_group_id = "[email protected]"
my_agents = [
{
"userId": "5131110051",
"weight": 20
},
{
"userId": "5131111108",
"weight": 20
},
{
"userId": "5131111110",
"weight": 20
},
{
"userId": "5131111115",
"weight": 40
}
]
my_api.hunt_groups.put_group_hunt_group_weighted_call_distribution(
service_provider_id = my_service_provider_id ,
group_id = my_group_id,
hunt_group_user_id = my_hunt_group_user_id,
agents= my_agents
)
Last updated
Was this helpful?