export all DX Inventory to excel file
search cancel

export all DX Inventory to excel file

book

Article ID: 378545

calendar_today

Updated On:

Products

DX OI SaaS

Issue/Introduction

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. 

Resolution

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.

Attachments

json-files.zip get_app