KSC Open API  13.1
Kaspersky Security Center API description
ListTags::SetTags ( array  pListItemsTags,
params  pParams = NULL 
)

Set tag values for specified list items.

Assign tag values for specified list items

Parameters:
pListItemsTags(array) collection of paramParams objects where each of them has the following structure:
  • "KLTAGS_ITEM_ID" - list item identifier. Type depends on the list type
  • "KLTAGS_TAGS" - (array) collection of (params) objects where each of them has the following structure:
    • "KLTAGS_VALUE" - (wstring) value of a tag being set
    • "KLTAGS_SET" - (boolean) flag. true - to set tag, false - to reset it
pParams(params) object of the following structure:
  • "KLTAGS_FULL_REPLACE" - (boolean) optional flag. true - to make a full replacement of previously set up tags, false(default) - to set up this tag and leave the old ones untouched