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.InterfaceAssembly: PDTec.IceNet.Domain.BatchHub (in PDTec.IceNet.Domain.BatchHub.dll) Version: 6.0.0.0 (6.0.6225.27214)
SyntaxServiceResult BatchHubCreateFileContent(
string vaultName,
long contentSize,
string contentHash,
out string contentUuid,
out string createUrl,
out string appendUrl
)
Parameters
- vaultName
- Type: SystemString
The vault name. - contentSize
- Type: SystemInt64
The file content size. - contentHash
- Type: SystemString
The file content hash. - contentUuid
- Type: SystemString
The file content UUID. - createUrl
- Type: SystemString
The URL to POST the first chunk of the file content. - appendUrl
- Type: SystemString
The URL to POST the subsequent chunks of the file content.
Return Value
Type:
ServiceResultThe service result status information.
See Also