cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3256
Views
2
Helpful
4
Replies

UDS API - cannot retrieve a user's devices

nick.mueller
Level 6
Level 6

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

4 Replies 4

Mark Stover
Cisco Employee
Cisco Employee

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/

chribble
Cisco Employee
Cisco Employee

You need to add the user to the "Standard CCM End Users" group. Only users in this group may log in to UDS.

hudaikoyuncu
Level 1
Level 1

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.