cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2170
Views
5
Helpful
6
Replies

CMS - Access API

Keith Todd
Level 1
Level 1

I am trying to access the API from my CMS server by going through the HTTPS route and I believe I am missing one piece or more.  This is a all in one server we are using just as a proof of concept.

I have created the user account from MMP by doing

user add apiadmin api and then I applied the password twice.

Going to the https://<ipaddress>:445 of the server is the admin page also

Going through Firefox poster only gets me a 404 error below.

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/v1/callProfiles was not found on this server.</p>
</body></html>

I have included my webadmin status which http redirect is turned off currently as it is enabled on the webbridge

1 Accepted Solution

Accepted Solutions

No, you're missing the point, the ONLY thing you need to configure in your server to use the API, is the Web Admin.

You're not using port 443 (which is the port you're trying to use due to https:), you said you changed it to 445, your https request needs to go to port 445 as well.

https://<ip address of server>:port/api/v1/something

In your case, it would be <IP>:445

HTH

java

if this helps, please rate

View solution in original post

6 Replies 6

Jaime Valencia
Cisco Employee
Cisco Employee

What are you using as the URL?

HTH

java

if this helps, please rate

Thanks Jaime for the response.  I guess what I should have asked is what is the correct URL that I should be using to access it the API

https://<ip address> gets to the webpage where the Meeting App client will be downloaded

https://<ip address> get to the MMP login (tried the apiadmin login and it fails)

Same as web admin and same port you configured is used for API

Start on page 160 to see some examples

http://www.cisco.com/c/dam/en/us/td/docs/conferencing/ciscoMeetingServer/Deployment_Guide/Version-2-1/Cisco-Meeting-Server-2-1-Scalable-and-Resilient-Deployments.pdf

HTH

java

if this helps, please rate

Jaime,

If I enter https://<ip address of server>/api/v1/outboundDialPlanRules I receive "Page could not be found"

If I enter the command callbridge

In the address field:  There is "none"

Is that the issue?  If so, how is an address inputed in there?

I have attached the callbridge output along with a restart for you

No, you're missing the point, the ONLY thing you need to configure in your server to use the API, is the Web Admin.

You're not using port 443 (which is the port you're trying to use due to https:), you said you changed it to 445, your https request needs to go to port 445 as well.

https://<ip address of server>:port/api/v1/something

In your case, it would be <IP>:445

HTH

java

if this helps, please rate

Amazing what putting a :445 will get you.  I was able to perform a GET for the information.  The document which provided the examples was a big help also.

Thanks for the help