cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1939
Views
15
Helpful
5
Replies

AXL Get Route Plan report?

JeffG1
Level 3
Level 3

Any one have any tips on retrieving the route plan report via AXL?

Also Im wondering if any one has tackled uploading a BAT file via AXL?

5 Replies 5

jaregalado
Level 1
Level 1

Using axl:listRoutePlanByType and axl:getRoutePattern you can accomplish that objective.

First issue the listRoutePlanByType Request like this:

http://www.cisco.com/AXL/1.0" xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://gkar.cisco.com/schema/axlsoap.xsd" sequence="1">route

Then issue individual getRoutePattern requests for each Route Pattern referencing the UUID attribute you get for each pattern from the first call and there you go.

http://www.cisco.com/AXL/1.0" xsi:schemaLocation="http://www.cisco.com/AXL/1.0 http://gkar.cisco.com/schema/axlsoap.xsd" sequence="1">'$UuidOfRpGoesHere

The result of this call gives you back pretty much everthing you can see on the CCM administrator user interface, for example you can catch any errors on Route Patterns with the 'Outside Dial Tone' flag disabled and thus save some precious troubleshooting time unting down the cause of getting secondary dial tone improperly, a common problem with CCM implementations.

Regards.

Thanks this did the trick!

Under the first requests I used

Device and it returns all the DNs with their devices.

Any suggestions on how I could get the request to return only the DN and not the rest of the information?

Jeff:

I am new to AXL Programs. I am looking for the directions to start with AXL programs. If you could share some lights on how you retrieve the data, that would help me much.

Thanking You in advance.

Ramesh Vasudevan

Joseph Jacobs
Level 4
Level 4

Found this thread, was useful for me also with something i'm doing in CUCM10.

Cisco's changed the API slightly though, thought i'd post.  It's now called 'listRoutePlan'.  This call is in CUCM 8.5, 9.1, 10.5, and probably 11.5 also.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listRoutePlan sequence="?">
         <searchCriteria>
            <!--Optional:-->
            <dnOrPattern>%</dnOrPattern>
 
         </searchCriteria>
         <returnedTags uuid="?">
            <!--Optional:-->
            <dnOrPattern>?</dnOrPattern>
            <!--Optional:-->
            <partition uuid="?">?</partition>
            <!--Optional:-->
            <type>?</type>
            <!--Optional:-->
            <routeDetail>?</routeDetail>
         </returnedTags>

      </ns:listRoutePlan>
   </soapenv:Body>
</soapenv:Envelope>

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: