For NBAPI using Java code to execute it, it already built into NMS tool. This is an example on how to use the built-in script in cgnm-tools to call the NBAPI.
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: