cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Updates to Sandbox Reservation Internet Access Policy

Due to changes in our networking policies, we are updating the internet access policy within our sandbox reservation instances.
Hosts will no longer have internet access outbound.
This should not affect the overall functionality or access to the resources within the sandbox instances, connecting via VPN.

Keep Innovating!

DevNet Sandbox Team

366
Views
0
Helpful
3
Replies
Beginner

AXL SOAP Hunt Pilot Members

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. 

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Beginner

Re: AXL SOAP Hunt Pilot Members

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 

3 REPLIES 3
Highlighted
Cisco Employee

Re: AXL SOAP Hunt Pilot Members

Please post the exact XML you're sending as a request so we can take a look at it.  Thanks!

Beginner

Re: AXL SOAP Hunt Pilot Members

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

Beginner

Re: AXL SOAP Hunt Pilot Members

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 

CreatePlease to create content