Hello,
I am trying to use the UDS API with CM10.
I am having trouble retrieving a user's devices.
Let us say that I have an application user ID named "uds_api_user", and a few end users "jon", "brian" and "nick".
I have given the application user ID the "Standard AXL API" permissions.
I can perform a query against "https://{cucm_fqdn}:8443/cucm-uds/users" and retrieve the user ID details of jon, brian and nick.
But if I then attempt a query against "https://{cucm_fqdn}:8443/cucm-uds/user/jon/devices" I get back an 401 unauthorized.
I am using basic authentication and supplying the user name and password of "uds_api_user" in my request.
If I instead attempt to query AS the "jon" user I get all the devices.
Is this expected? Why can't an authorized app user with appropriate permissions query device information for a user?
NPM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Nick,
Yes, this is expected. UDS is _not_ an AXL interface. It is driven by user permissions and doesn't support any sort of administrative usage that allows you to manage multiple users. You have to use the 'End User''s permissions to access the user's settings and devices.
HTH,
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can of course use the AXL API as always for CRUD operations on most UCM objects, including users and lines.
https://developer.cisco.com/site/collaboration/management/axl/axl/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You need to add the user to the "Standard CCM End Users" group. Only users in this group may log in to UDS.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.