Hello,
I’ve been trying to find some documentation on the Web Services API other than the Webservices API Guide for DCNM which gives you pretty much nothing other than a list of functions and what parameters they take...
I really need some more technical description on how to structure the data to pass to the webservices (methods with input parameters).
Lets take the InterfacesAppService for instance.
The function "getAllInterfacesInNetworkElement" takes two parameters:
"opContext - operational context" and
"neInstanceNameId - InstanceNameId corresponding to the network element"
Based on the WSDL the SOAP call should look pretty much like this:
<getAllInterfacesInNetworkElement>
<opContext></opContext>
<neId></neId>
</getAllInterfacesInNetworkElement>
There are no definitions on what kind of data this parameters should be (int, string etc.)
What is operational context ?
What is InstanceNameId ?
A lot of theese functions refeers to an "InstanceNameId" which is nowhere to be found!
In the API Guide (link below), they give an example from the InventoryAppService and calls "getAllChassisInNetwork" which takes one optional parameter. Here you can find "InstanceName, instanceClassId and even an neId in the InstanceName".
This one also works for me, and I've been trying almost every single value from my response, but with no luck.
http://www.cisco.com/en/US/docs/switches/datacenter/sw/5_x/dcnm/web_services/api/guide/overview.html
Are there anyone of you who have some experience with this??
Any extended/more detailed documentation, referals or anything ??
Any help would be appreciated!
Thanks!