KSC Open API  13.1
Kaspersky Security Center API description
params AKPatches::ApprovePatch ( wstring  szwPatchId,
params  parOptions 
)

Give approval to the patch on start installation.

This command is applicable to patches which have no right to be installed without approval of the administrator.

Parameters:
szwPatchId(wstring). the patch identifier. see KLSTS_Par_PatchId.
parOptions(params) object containing additional parameters:
  • "NeedBackupServer" (boolean) true if is required to do SC-server backup before installation of the patch, optional
Returns:
ppResult (params) contains following attributes:
  • "CallResult" (boolean) true if success
  • "ErrorDescription" (wstring) error description, empty if no error