KSC Open API
Kaspersky Security Center API description
int Policy::ImportPolicy2 ( wstring  wstrFileUrl,
int  nGroupId,
boolean  bImportAsInactive 
)

Import policy from uploaded file.

Use file URL returned by InitFileUpload().

Parameters:
wstrFileUrlImporting policy file url
nGroupIdTarget group id
bImportAsInactiveImport policy in inactive state
Returns:
Imported policy's id