I am trying to get the user defined property using REST API and do the same steps as short guided below on BFI 9.2.3.1:
https://forum.bigfix.com/t/ilmt-sua-suadb-database-integration-is-it-supported/14403/9
Somehow, I am getting error. Does anyone know what is wrong? How can I get the correct results?
Here is my steps:
-
I added a new computer property and imported it to BFI.
-
I can find the property as “computer_property_14” with api/schemas/computer.json API.
“computer_property_14”:{
“type”:[
“string”,
“array”,
“null”
],
“items”:“string”,
“title”:“companycode”,
“mappings”:{
“type”:“array”,
“association”:true,
“description”:“Mappings into datasource properties”,
“item”:[
{
“datasource_site_remote_id”:-1995284676,
“datasource_analysis_remote_id”:196,
“datasource_property_remote_id”:1,
“datasource_id”:1
}
]
}
}
-
I am trying to get the property with the following URL:
https://bfiserver:port/api/sam/computer_systems?token=20xxx&columns[]=computer_property_14 -
I get the following error:
{“error”:“Don’t know how to report on column computer_property_14”}
Also, a FATAL error is recorded on tema.log.
Thanks.