Hi,
where can I find a full reference of the BigFix Inventory REST API Schema?
I’m trying to retrieve the software instances (https://www.ibm.com/support/knowledgecenter/en/SSKLLW_9.5.0/com.ibm.bigfix.inventory.doc/Inventory/integration/r_get_software_instances.html) with additional colums, but can’t figure out how to retrieve the hostname.
My query:
https://lmt:9081/api/sam/software_instances?limit=1&columns[]=host_name&columns[]=catalog_dimension.software_title_name&token=token
The error:
{“error”:“Don’t know how to report on column”}
Best regards,
Simon
skoenig,
The software_instances object doesn’t include a reference to the computer_systems object. If you follow the procedure outlined here (Determining license usage for all computer systems) you can then merge the two datasets externally.
- Retrieve the list of your computer systems.
…
Result: Each computer system has a different id. You can later use this id to create a match between your software instances and computer systems.
- Retrieve the list of your software instances.
…
Result: Each software instance contains a computer_system_id column that represents an id of a computer that a particular instance is installed on.
Thank you for your reply. I finally did it that way.
You’re welcome. I’m glad it helped.