AssetServicesUploadAssetPackage Method
|
Uploads a zip file, and creates all files within the zip file as assets, with default schemas for their extensions.
The folders structure within the zip file is replicated as asset folders
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax public XHRServiceResponseGeneric<AssetZipUploadReturnInformation> UploadAssetPackage(
Stream FileByteStream
)
Public Function UploadAssetPackage (
FileByteStream As Stream
) As XHRServiceResponseGeneric(Of AssetZipUploadReturnInformation)
public:
virtual XHRServiceResponseGeneric<AssetZipUploadReturnInformation^>^ UploadAssetPackage(
Stream^ FileByteStream
) sealed
abstract UploadAssetPackage :
FileByteStream : Stream -> XHRServiceResponseGeneric<AssetZipUploadReturnInformation>
override UploadAssetPackage :
FileByteStream : Stream -> XHRServiceResponseGeneric<AssetZipUploadReturnInformation>
Parameters
- FileByteStream
- Type: System.IOStream
The zip file stream, including the zip file content and parameters for asset creation
Return Value
Type:
XHRServiceResponseGenericAssetZipUploadReturnInformationInformation of created assets and asset folders from the zip package
Examples Sample JSON return
{
"AssetFolders": [
"af/716",
"af/717",
"af/718",
"af/719",
"af/720"
],
"Assets": [
"a/9686",
"a/9687",
"a/9688",
"a/9689",
"a/9690",
"a/9691",
"a/9692",
"a/9693",
"a/9694",
"a/9695",
"a/9696",
"a/9697",
"a/9698",
"a/9699"
],
"Errors": [],
"ManifestAssetId": null,
"RootFolderId": "af/716",
"NamingConflictAssetId": null,
"SchemasToChoose": null,
"TempFileLocation": null,
"pageAction": null,
"properties": null,
"queryString": null
}
See Also