Using Postman with NetApp API Services.

Postman is a REST development and command testing tool to allow developers and administrators build new commands for administration and provisioning. To utilized the drag and drop capabilities / double click capabilities to quickly build out new REST commands the Swagger template from the API Server can to be installed as a collection. 



Here are the steps required to import the Swagger JSON as a template into Postman collection. 


  1. Install Postman

        Postman per platform can be found at


 2.  Install API Services


       API Services can be found on the netapp support site

      This document assume the use of default ports if you are not using default ports you will need ot ajust things as required.


 3.  On the API Server go to this address


      https://{Servers NAME or IP}:8443/swagger.json


      You will want to select all data in the body and save it to a local text file.


4.  Modify the Second line of the file Add the following on the second line

<tab>”host”: “Server Name or IP :8443”


Save Document as NetApp_API.json


Launch postman

In the upper left corner of postman Click import.


Drag and drop file to the import screen.


On the 3 dots next to the OnCommand API Services … click the edit command.


Click Authorization

Select Basic Authentication.

Update the Username and the password for your API Services server.


You can now browse and use commands with API services.



Re: Using Postman with NetApp API Services.

Thanks John, this is great!


One thing to note, I had to use the URL "https://<API-S Server name or IP>:8443/api/1.0/api-docs/ontap" to get the Swagger docs (I'm using API-S 1.2 RC1, FYI).


Also, you can do the same thing for NSLM too (I'm using 1.0 RC3):


  • SLO APIs - https://<NSLM server name or IP>:8443/api/api-docs/slo
  • ONTAP APIs - https://<NSLM server name or IP>:8443/api/api-docs/ontap2.0


Thanks again!



If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.