KSC Open API
Kaspersky Security Center API description
wstring PackagesApi::UpdateBasesInPackagesAsync ( params  pParams)

Update bases in packages (asynchronously).

Parameters:
pParams(paramParams) Input data container.
  • "KLTSK_RI_PACKAGES_IDS" - Packages IDs (paramArray <paramInt>, optional) If parameter not exist, all packages are subject to update.
Returns:
(wstring) Request ID used to subscribe to the event that is triggered when operation is complete.
Remarks:
Check the operation state by calling AsyncActionStateChecker::CheckActionState periodically until it's finalized or cancel it by calling PackagesApi::CancelUpdateBasesInPackages. If the operation succeeds then AsyncActionStateChecker::CheckActionState does not return any attributes in pStateData container. If the action failed then call to AsyncActionStateChecker::CheckActionState returns error in pStateData.
Exceptions:
Throwsexception in case of error.