Hi guys,
Could someone point me to the right direction how to find what field must be used in GraphQL getAssetResources query to get values of the field OSname in the table tsysOS (Win 2012 R2, Win 2016, etc.).
Currently we are using the following query but none of the listed fields have these values:
query getAssetResources {
site(id: "{{site_id}}") {
assetResources(
assetPagination:
{
limit: 100,
page: FIRST,
cursor: ""
}
fields: [
"key",
"url",
"assetCustom.stateName",
"assetBasicInfo.name",
"assetBasicInfo.type",
"assetBasicInfo.mac",
"assetBasicInfo.scannerType",
"assetBasicInfo.userDomain",
"assetCustom.manufacturer",
"assetCustom.model",
"networkAdapters.macAddress",
"networks.ipAddressV4",
"operatingSystem.osType"
"operatingSystem.caption",
"operatingSystem.name",
"operatingSystem.codeset",
"operatingSystem.buildNumber",
"operatingSystem.buildRevNumber",
"operatingSystem.hostName",
"operatingSystem.organization",
"operatingSystem.osProductSuite"
]
filters: {
conjunction: AND,
conditions:
[
{
operator: EQUAL,
path: "assetCustom.stateName",
value: "Active"
},
{
operator: LIKE,
path: "assetCustom.manufacturer",
value: "VMware"
}
]
}
)
{
items
pagination {
next
}
}
}
}