I am trying to develop an application based on a UCCX 9 contact centre using the REST API.
I have tried using a supervisor login (and and admin) to execute a GET to pull down a list of resources as per below:
Obviously I have substituted the real server name in above.
In the api examples it also uses different ports numbers for HTTP and HTTPS (8080) which gets the same result.
The guide is not clear on any prerequisites or required permissions for this to work. As per above I have tried using both a supervisor login and and admin account and both return HTTP Status 403 (Access Denied).
It is almost as if the adminapi is not available.
Is there anything I'm missing here (ie. command to run or configuration required to enable the adminapi)?
Your URL is incorrect: your have resources and it's singular resource
If you wanted to validate if the API is accessible, simply use your web browser to point to:
If your browser prompts you for credentials, then it's working. The credentials you supply have to be a user, any user in UCCX, with the Administrator role assigned to them. Not a supervisor.
Security The user with administration credentials only on Unified CCX can invoke methods. The API uses Basic Authentication mechanism of HTTP and the credentials (user ID and password) must be sent with every request in the Authorization header.
Source: Admin API Guide
Here is a screenshot of the response in my browser. What you're not seeing is that my browser prompted me for a username and password, as it should when HTTP Basic Auth is required.
Please use the star ratings to help drive great content to the top of searches.
SIP traces provide key information in troubleshooting SIP Trunks, SIP
endpoints and other SIP related issues. Even though these traces are in
clear text, these texts can be gibberish unless you understand fully
what they mean. This document attempts to br...
Please find the attached HTML document, download and open it on your PC.
This provides an easy to use form where you simply answer a few
questions and it will render the proper jabber-config.xml file for you
to copy/paste. There is built in logic to verif...
CUCM Database Replication is an area in which Cisco customers and
partners have asked for more in-depth training in being able to properly
assess a replication problem and potentially resolve an issue without
involving TAC. This document discusses the bas...