PUT - Group Hunt Group

Update a Hunt Groups (HG) settings.

Parameters

  • service_provider_id (str): Service provider ID of where the group that hosts the HG is located.

  • group_id (type): Group ID of where the HG is located.

  • hunt_group_user_id (str): Target service user ID of the HG.

  • updates (dict): Updates to be applied to HG.

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]"
updates = {
	"serviceInstanceProfile":{
		"name":"odin.mock.hg.2",
		"callingLineIdLastName":"odin.mock.hg.2",
		"callingLineIdFirstName":"odin.mock.hg.2",
		"hiraganaLastName":"odin.mock.hg.2",
		"hiraganaFirstName":"Hunt Group",
		"language":"English",
		"timeZone":"America/Denver",
		"aliases":[]
	},
	"policy":"Regular",
	"huntAfterNoAnswer":true,
	"noAnswerNumberOfRings":5,
	"forwardAfterTimeout":false,
	"forwardTimeoutSeconds":10,
	"allowCallWaitingForAgents":true,
	"useSystemHuntGroupCLIDSetting":true,
	"includeHuntGroupNameInCLID":true,
	"enableNotReachableForwarding":false,
	"makeBusyWhenNotReachable":false,
	"agents":[
		{"userId":"9709580001"},
		{"userId":"9709580002"}
	]
}

my_api.hunt_groups.put_group_hunt_group(
    service_provider_id = my_service_provider_id ,
    group_id = my_group_id,
    hunt_group_user_id = my_hunt_group_user_id,
    updates = my_updates
)

Last updated

Was this helpful?