KSC Open API  13.1
Kaspersky Security Center API description
SpamEvents::AddToExclusion ( array  pArraySpamEventIds)

Add SPAM-event to the exclusion list.

Parameters:
pArraySpamEventIds(array) array of SPAM-events identifiers, see List of SPAM event attributes