Click or drag to resize

IBatchHubServiceBatchHubCreateFileContent Method

Creates a file content record. Use the resulting URLs to upload the file content to the vault. Then use the file content UUID to add an attachment with the uploaded file content. The provided URLs are for immediate use and will expire within one day.

Namespace:  PDTec.IceNet.Domain.BatchHub.Service.Interface
Assembly:  PDTec.IceNet.Domain.BatchHub (in PDTec.IceNet.Domain.BatchHub.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
ServiceResult BatchHubCreateFileContent(
	string vaultName,
	long contentSize,
	string contentHash,
	out FileContentUploadUrlInfo uploadInfo
)

Parameters

vaultName
Type: SystemString
The vault name.
contentSize
Type: SystemInt64
The file content size.
contentHash
Type: SystemString
The file content hash.
uploadInfo
Type: PDTec.IceNet.Domain.BatchHub.Service.InterfaceFileContentUploadUrlInfo
The information required to upload file content to an HTTP/S vault.

Return Value

Type: ServiceResult
The service result status information.
See Also