DX NetOps

 View Only

Need help openAPI using curl or wget

  • 1.  Need help openAPI using curl or wget

    Posted Nov 06, 2019 05:08 AM
      |   view attached
    Hi , 
      I am writing the shell script to pull the 
       1. Device Inventory list   - Using the curl comman I executed the cmd in the attached file and it displays the first 50 rows further I added the variable to the skip parameter and put it in a loop but it keeps on display only first 50 rows including header every time and never ending. 

      2. Availability report  - Also did the same thing and this time I used expand but when using the curl it doesn't recognize the expand and giving the output only for the 'for'

    Can someone please help here to do this.

    Attachment(s)

    txt
    curl_openAPI.txt   166 B 1 version