A simple example might be:
curl -k -u root:Public123 https://ncs-xmp-build-2/webacs/api/v1/data/Inventory
Note that -k allows Curl to accept non trusted connections.
A more complex example that uses paging is:
#!/bin/bash USER=test PASS=test URL="https://ifm-ncs-stjerman-13.cisco.com/webacs/api/v1/data/AccessPoints" for rec in 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 do echo "Getting $rec" curl -k -u${USER}:${PASS} "https://ifm-ncs-stjerman-13.cisco.com/webacs/api/v1/data/AccessPoints\ ?.full=true&.maxResults=1000&.firstResult=${rec}" > out${rec}.xml done