07-25-2018 01:15 AM - edited 06-04-2019 02:40 AM
I would like get the details from CUCM page about Directory Numbers using AXLtoolkit SOAP API 11.5.
I would like to load a list of all Directory numbers on the page. I have tried to use numplan from API 8.5 but with no joy, I have not been able to find anything that will do this in the toolkit for the 11.5 API, can you help?
I am trying to load the whole list in SOAPUI so I can then do things from there with the list.
thank you in advance for any help, it is much appreciated.
Solved! Go to Solution.
07-25-2018 08:59 AM
<listLine> should be a good place to start:
POST https://ds-ucm115-1.cisco.com:8443/axl/ HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "CUCM:DB ver=11.5 listLine" Content-Length: 486 Host: ds-ucm115-1.cisco.com:8443 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjb3BzZHQ= <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5"> <soapenv:Header/> <soapenv:Body> <ns:listLine> <searchCriteria> <pattern>%</pattern> </searchCriteria> <returnedTags> <pattern/> <usage/> <routePartitionName/> <associatedDevices/> </returnedTags> </ns:listLine> </soapenv:Body> </soapenv:Envelope>
07-25-2018 08:59 AM
<listLine> should be a good place to start:
POST https://ds-ucm115-1.cisco.com:8443/axl/ HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "CUCM:DB ver=11.5 listLine" Content-Length: 486 Host: ds-ucm115-1.cisco.com:8443 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjb3BzZHQ= <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5"> <soapenv:Header/> <soapenv:Body> <ns:listLine> <searchCriteria> <pattern>%</pattern> </searchCriteria> <returnedTags> <pattern/> <usage/> <routePartitionName/> <associatedDevices/> </returnedTags> </ns:listLine> </soapenv:Body> </soapenv:Envelope>
07-27-2018 03:14 AM
04-02-2020 03:47 AM
I tried to work with the provided request but I am getting the below error:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>java.lang.NoClassDefFoundError: Could not initialize class com.cisco.www.axl.api._8_0.ListLineDocument</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide