ONTAP Discussions

ZAPI to Rest API Migration

Arafat
695 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
652 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
461 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
378 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
360 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