ā07-27-2018 03:25 AM - edited ā06-04-2019 02:40 AM
Hello all,
Looking for a bit of help please
I would like get the details from CUCM page about members of Hunt Pilots using AXLtoolkit in SOAPUI with API 11.5.
I would like to load a list of all members/users who are apart of a particular Hunt Pilot such as "35551". I have tried to use the getHuntList but I keep getting a fault string saying 35551 not found but yet I can load the hunt pilots using listHuntPilot using wildcard search criteria.
my ultimate aim here is to count the list of members/users in a given group and see those members as a list.
I am still very new to the Cisco AXL Soap request so thank you for your patients while I learn.
as always thank you for any help as it is much appreciated.
Solved! Go to Solution.
ā07-31-2018 02:51 AM
Sorted it
this loads all by groups
<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:listLineGroup> <searchCriteria> <name>%</name> </searchCriteria> <returnedTags> <name/> </returnedTags> </ns:listLineGroup> </soapenv:Body> </soapenv:Envelope>
then this lists all members of a given group
<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:getLineGroup> <name>35551<name/> <returnedTags> <members> <member> <directoryNumber> <pattern/> </directoryNumber> </member> </members> <name/> </returnedTags> </ns:getLineGroup> </soapenv:Body> </soapenv:Envelope>
This is all I needed, hope this helps sombody else
ā07-27-2018 12:29 PM
Please post the exact XML you're sending as a request so we can take a look at it. Thanks!
ā07-29-2018 11:16 PM
this is what i have tried to use
<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:getHuntList> <name>35551</name> <returnedTags> <description/> <name/> </returnedTags> </ns:getHuntList> </soapenv:Body> </soapenv:Envelope>
and this is the reply I get
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <soapenv:Body> <soapnv:Fault> <faultcode>soapnv:server</faultcode> <faultstring>Item not valid: The specified 35551 was not found</faultstring> <detail> <axlError> <axlcode>5007</axlcode> <axlmessage>Item not valid: The specified 35551 was not found</axlmessage> <request>getHuntList</request> </axlError> </detail> </soapnv:Fault> </soapenv:Body> </soapenv:Envelope>
I am not sure that getHuntList is the thing I need?
thank you again for any and all help
ā07-31-2018 02:51 AM
Sorted it
this loads all by groups
<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:listLineGroup> <searchCriteria> <name>%</name> </searchCriteria> <returnedTags> <name/> </returnedTags> </ns:listLineGroup> </soapenv:Body> </soapenv:Envelope>
then this lists all members of a given group
<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:getLineGroup> <name>35551<name/> <returnedTags> <members> <member> <directoryNumber> <pattern/> </directoryNumber> </member> </members> <name/> </returnedTags> </ns:getLineGroup> </soapenv:Body> </soapenv:Envelope>
This is all I needed, hope this helps sombody else
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