NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

ZAPI to Rest API Migration

Arafat
3,676 Views

we are getting an error for ZAPI now we will migrate ZAPI to the Rest API. Please share the process for migration. 

 

Arafat_0-1704885379621.png

 

4 REPLIES 4

chamfer
3,631 Views

Hi Arafat,

 

As you are on ONTAP 9.12.1 you can consult the NetApp Docs here https://docs.netapp.com/us-en/ontap-restmap-9121/

 

The ONTAP 9.12.1 ONTAPI-to-REST mapping documentation provides the equivalent ONTAP REST API call for each ONTAPI call

Arafat
3,440 Views

Hello Chamfer,

 

Thank you for your reply. We had to know something regarding zapi.

 

How do we know that our environment is being used zapi or not?

 

Through ontap cli command or ontap system manager, we want to know whether zapi is being used or not. 

chamfer
3,357 Views

Hi @Arafat there is a KB article here https://kb.netapp.com/onprem/ontap/os/How_to_determine_if_ONTAP_is_using_ZAPI 

 

ONTAP has detected that you are using ZAPI, hence your screenshot.

 

It could be NetApp Unified Manager performing ZAPI calls if you are not using ZAPI from other tools.

Arafat
3,339 Views

Hi Chamfer,

Thank you very much for sharing KB.

  • Does the previous screenshot indicate the use of zapi on the system?
  • If we want to reconfirm using Zapi or not, is there any cli command or method to view from system manager or active IQ?
  • The Python script mentioned here should be run in the system or on another host or a separate laptop to transition?
Public