KSC Open API
Kaspersky Security Center API description
FileCategorizer2::UpdateExpressions ( int  nCategoryId,
array  arrIdAndExpression,
boolean  bInclusions,
[out] wstring  wstrAsyncId 
)

Update some expressions in category.

Parameters:
nCategoryId[in] (int) Category id
arrIdAndExpression[in] (array) Array of params. Each element contains 2 attributes: "id" (int) - expression id, "body" (params) - expression body. Max size is 100 elements. See Custom category format.
bInclusions[in] (boolean) If true then update inclusions. Otherwise update exclusions.
wstrAsyncId[out] (wstring) Id of async operation.
See also:
AsyncActionStateChecker