KSC Open API
Kaspersky Security Center API description
"KLPPT_EventRptExecDone" - event on async report generation progress and result


This event is published on reply to the requested async report generation. The event might contain the following attributes:

NameTypeDescription
KLPPT_RptAsyncExecIdparamStringUnique request identity, which is the same as the input parameter used to request the async report generation
KLPPT_RptAsyncExecResultparamIntThe report generation status (paramInt) is one of the following:
  • 0 - Report is successfully generated. Report data is ready.
  • 1 - Report generation is in progress (completion percent available in the parameter "KLPPT_RptAsyncExecPercentComplete" (paramInt)).
  • 2 - Report data is ready (nearly the same as 0, but it might mean that some report data is retrieved from cache).
  • -1 - Report generation failure (serialized error information is available in the parameter "KLRPT_evpRptAsyncError" (paramBinary)).
KLPPT_RptAsyncExecPercentCompleteparamIntReport generation completion percent.
KLRPT_evpRptAsyncErrorparamParamsBinary serialized report generation error information.
KLPPT_RptAsyncExecInProgressStatusparamIntAdditional report generation status information, possible values:
  • 1 - report data from the current server is already ready. Waiting for data from secondary servers in the hierarchy.