Can we add a custom property in a software report

Hi Team,

I have the following API which gives the software installed report
https://bfi:9081/api/sam/v2/software_instances?&token=token.

I want to add a custom property in this same report
https://bfi:9081/api/sam/v2/software_instances?columns[]=computer_details.computer_property_5&token=token

This is giving me the that only property. Is there any way to achieve this?

The API URL as is extracts only the default columns for that API. If a custom list of columns or reference to other properties are needed, then all needed columns will need to be defined in the URL.

Here is an example API query:

[type or paste code here]https://BFIServer:PORT/api/sam/v2/software_instances?columns[]=computer_id&columns[]=computer_name&columns[]=product_name&columns[]=is_present&columns[]=product_release&columns[]=product_publisher_name&columns[]=component_name&columns[]=component_detailed_version&columns[]=component_publisher_name&columns[]=discovery_details.file_name&columns[]=discovery_details.file_size&columns[]=discovery_details.fact_type&columns[]=discovery_details.discovery_path&columns[]=is_suppressed&criteria={"AND":[["is_present","=","1"],["computer_name","=","ss1rhelclient1"]]}
1 Like