Would like to create an Inventory report in a 3rd party tool that would include all Inventory from DX SAAS Inventory. Wants to export to excel file.
You need to use the following curl command to run the json file.
Example:
curl -XPOST https://doi.dxi-na1.saas.broadcom.com/oi/v3/api/inventory/export -H 'Authorization: Bearer .....' -H "Content-Type:application/json" -d @query-all.json --output Inventory-All.zip
We would suggest using the query-type.json and/or query-category.json as it will limit the query if you have very high inventory count. Modify these files as you need.