The AXL class sets up the connection to the call manager with methods for configuring UCM. Tested with environment of; Python 3.6
add_user(self, userid, lastName, firstName, presenceGroupName='Standard Presence group', phoneProfiles=[])
Add a user :param user_id: User ID of the user to add :param first_name: First name of the user to add :param last_name: Last name of the user to add :return: result dictionary
delete_user(self, **args)
Delete a user :param userid: The name of the user to delete :return: result dictionary
get_user(self, userid)
Get user parameters :param user_id: profile name :return: result dictionary
get_users(self, tagfilter={'userid': '', 'firstName': '', 'lastName': ''})
Get users details Parameters
tagfilter : dictionary, optional userid: None or uuid of user firstName: None or first name of user lastName: None or last name of user
Returns
users A list of Users
update_user(self, **args)
Update end user for credentials :param userid: User ID :param password: Web interface password :param pin: Extension mobility PIN :return: result dictionary
update_user_credentials(self, userid, password='', pin='')
Update end user for credentials :param userid: User ID :param password: Web interface password :param pin: Extension mobility PIN :return: result dictionary
update_user_em(self, user_id, device_profile, default_profile, subscribe_css, primary_extension)
Update end user for extension mobility :param user_id: User ID :param device_profile: Device profile name :param default_profile: Default profile name :param subscribe_css: Subscribe CSS :param primary_extension: Primary extension, must be a number from the device profile :return: result dictionary