I am trying to get the information about which services are enabled on CUCM. I am using AXL API 10.5 for it.
UI wise, this is the place we check it manually today on each CUCM Publisher: Cisco Unified Serviceability > Tools > Service Activation
1. From the schema, I believe GetDeviceProfile returns the list of services enabled on CUCM.
But when I try the following request through SoapUI, I get an error in the response. Not sure what's wrong here.
2. I tried 2 possibilities by providing only one from name and uuid at a time. I believe "name" is the name of the application user and I got an "uuid" for that user from GetAppUser API.
3. Please let me know if this is the right API that gives a list of services activated on CUCM publisher? If not, is there any other API that I should be using.
<!--You have a CHOICE of the next 2 items at this level-->
<faultstring>Item not valid: The specified null was not found</faultstring>
<axlmessage>Item not valid: The specified null was not found</axlmessage>
AXL does not expose high-level requests for this info.
It may be possible to use SQL queries via <executeSqlQuery> to determine the static configuration of services by querying various CUCM DB tables, but this will not provide the actual runtime status of services that Services Control API also provides.
Thanks for the response.
Could you please also let us know the following?
1. I found the API call soapGetServiceStatus gives a list of all services with their activation status.
But which API allows updating the service status?
2. Does updating any service status requires special access group or permission to be assigned to the application user we are using to make this API call?
For example: For AXL API calls, it required "AXL User Group" to be assigned to the application user account.
1. See the soapDoControlServices for performing service tasks: https://developer.cisco.com/site/sxml/documents/api-reference/service-control/#soapdocontrolservices
2. Looks like the Service Control API requires the following roles:
Note, your screenshot is showing a list of 'Access Control Groups', where each ACG is comprised of one or more 'roles' that control resources. There is no built-in ACG which includes only the Standard CCM System Management role, you will need to create a new ACG, and add the two mentioned roles to it - then you can add this new ACG to your user's permissions.