📞PUT - Group Call Center DNIS Instance

my_api.group_call_center_dnis_instance()

Update a DNIS instance of a single Call Center (CC).

Parameters

  • call_center_user_id (str): Service user ID of the target CC.

  • updates (dict): Updates to apply to target CC.

Returns

  • None: This method does not return any specific value.

How To Use:

from odins_spear import api

my_api= api.Api(base_url="https://base_url/api/vx", username="john.smith", password="ODIN_INSTANCE_1")
my_api.authenticate()

my_call_center = "call_center_user_id@domain.com"
my_updates= {
	"dnisPhoneNumber":9589582005,
	"extension":2005,
	"useCustomCLIDSettings":false,
	"callingLineIdPhoneNumber":9589582005,
	"useCustomDnisAnnouncementSettings":false,
	"priority":"1 - High",
	"allowOutgoingACDCall":false,
	"name":"mock.dnis.2",
	"newDNISName":"mock.dnis.2"
}

my_api.put.group_call_center_dnis_instance(
    call_center_user_id = my_call_center,
    updates = my_updates
)

Last updated