03-10-2014 07:16 AM
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
03-10-2014 07:44 AM
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
03-10-2014 08:10 AM
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/
05-10-2014 11:54 AM
You need to add the user to the "Standard CCM End Users" group. Only users in this group may log in to UDS.
04-11-2023 01:19 PM
Adding the application user to "Standard CCM End Users" group did not help. Pls. provide a feedback if someone has recently encountered this issue over POSTMAN. Thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide