KSC Open API
Kaspersky Security Center API description
array HostTagsApi::GetHostsTags ( array  pArrHostIds,
params  pParams = NULL 
)

Get tags for multiple hosts.

Parameters:
pArrHostIds[in] (array) - Array of host identifiers (GUID)
pParams(params) reserved.
Return values:
ppHostsTags(array) array of (params) objects where each of them has the following structure:
  • "KLHST_HostID" (wstring). Host identifier (GUID)
  • "KLHST_TagValue" (wstring). Value of the tag
  • "KLHST_IS_TAG_SET_BY_PRODUCT" (boolean). true if tag has been set by product
  • "KLHST_IS_TAG_SET_BY_HOSTTAGRULE" (boolean). true if tag has been set by host tag rule