Highlighted
Absent Member.
Absent Member.
1422 views

NNMi 10.x How to use web API

Hello,

Could anyone explane how to use NNMi API for getting for example list of all nodes?

I saw a developers guide, but i have no understanding via which tool and which format of requests should i use.

Could anyone provide me with explanation and few examples, please

 

Thank you

0 Likes
5 Replies
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: NNMi 10.x How to use web API

Hello, 

 

check that article

/t5/IT-Operations-Management-ITOM/How-to-Test-NNMi-Web-Service-APIs-using-SoapUI/ba-p/6921865#.WNmVZfl95hF

 

Regards
Mostafa Hassan
--------------------------------------
If my post helped you, kindly click the 'Kudos' button.
0 Likes
Highlighted
Contributor.
Contributor.

Re: NNMi 10.x How to use web API

i dont seem to have access to those docs. any other way please.

thanks

Sandeep

0 Likes
Highlighted
Contributor.
Contributor.

Re: NNMi 10.x How to use web API

Use this envelop to getNodes. 

I'm unable to paste the envelop. mail me if you need the code.



0 Likes
Highlighted
Frequent Visitor..
Frequent Visitor..

Re: NNMi 10.x How to use web API

can you please send me the envelop to getNodes please ? 

0 Likes
Highlighted
Respected Contributor.. Respected Contributor..
Respected Contributor..

Re: NNMi 10.x How to use web API

Hi there,

If you want to get all nodes, just leave the filter empty like below, it will give you all nodes. If you need more specific filter, let me know.

Regards,

J

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:node="http://node.sdk.nms.ov.hp.com/">
<soapenv:Header/>
<soapenv:Body>
<node:getNodes>
<arg0>
</arg0>
</node:getNodes>
</soapenv:Body>
</soapenv:Envelope>

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.