KSC Open API  13.1
Kaspersky Security Center API description
wstring PackagesApi::RecordVapmPackageAsync ( wstring  szwNewPackageName,
params  parProductInfo 
)

Create a package using VAPM product information.

Parameters:
szwNewPackageName(wstring) New package name.
parProductInfo(params) Product information
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::CancelRecordNewPackage. If the operation succeeds then AsyncActionStateChecker::CheckActionState returns Package ID in pStateData container as KLPKG_NPI_PKGID (paramInt) attribute. Otherwise, a call to AsyncActionStateChecker::CheckActionState returns error in pStateData.
Exceptions:
Throwsexception in case of error.