I am working on writing a java program to gather device information. In the information I gather about the device I would like the serial number which isn't included in the cucm RISService. So as a secondary method to retrieve the serial number I attempted to use the http://<ip address>/DeviceInformationX to get the serial number. This works fine from my browser. However, when I write out the URLConnection in java I always get a 403 forbidden error for that endpoint. Has anyone run into this issue?
I wanted to update this discussion with the answer. The reason the HTTP request was not responding was that "Web Access" was disabled for the phone in CUCM. After it was enabled, the HTTP request was successful.
This International Programmers Day we are shining the spotlight on our developer community in Latin America. Get ready for #CiscoLiveLA with #DevNet!
Join us live and we'll take your questions during the broadcast or after if you post to the com...
Join us on Thursday, September 12 at 10 am PT for International Programmers Day. We are shining the spotlight on our developer community in Latin America. Get ready for #CiscoLiveLA with #DevNet!
Post your questions below in the comments.
Join us for a live presentation on Thursday, July 25 at 10 am PT. We'll be talking about Cisco DevNet Automation Exchange, which provides shared code repositories for network automation and guides teams through their journey with a walk-run-fly meth...
Join us for #CiscoChat live on Thursday, May 23 at 10 am PT
Cisco Live, San Francisco 2014 … Were you there? We are celebrating 5 years of the iconic DevNet Zone! With more content, more experts to help you in your learning journey, and more opport...