cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
187
Views
5
Helpful
3
Replies
Highlighted
Collaborator

UCCX REST User

Hi,

I am just starting developing some Python scripts to connect to the UCCX configuration REST API and have a question about users which can connect to the REST API.

From my testing I can only seem to connect using the application administrator user ID which was created when UCCX was installed. If I try to use a user account that has been imported into UCCX as an administrator it fails.

On CUCM the former account is an application user and the latter is an end user which I guess could be the issue.

It is pretty lame if only the admin account can be used - on CUCM it is easy to create a user with only AXL access (or only read only access if you want to lock it down even further).

1 ACCEPTED SOLUTION

Accepted Solutions
Beginner

Re: UCCX REST User

Token is standard feature of RESTful API. You can obtain it in temporary headers after running any successful request in Postman, for example. Adding this header manually, something like Authorization: 12345abc=, in subsequent requests will let you not to use password authentication.

3 REPLIES 3
Beginner

Re: UCCX REST User

Any administrator account has access to API calls, even LDAP imported. You should check your settings.

 

More granular access is not possible in UCCX at this moment (which is lame), but Cisco promised to implement this functionality in future releases. Also you can use access token instead of login/password.

Collaborator

Re: UCCX REST User

Thanks Lev,

I have tested on a few systems and there is only one where I am having issues. It is running 10.6(1).

It should not take Cisco too much effort to implement a REST API user - they could do it in the same way the wallboarduser and hruser are handled.

Re. the token based access you mention is that a current feature or something on a roadmap? - if you have any links you can share that would be really helpful

Beginner

Re: UCCX REST User

Token is standard feature of RESTful API. You can obtain it in temporary headers after running any successful request in Postman, for example. Adding this header manually, something like Authorization: 12345abc=, in subsequent requests will let you not to use password authentication.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards