PresentationsAdminServicesUploadThumbnail Method
|
Uploads a thumbnail imagee for a content unit
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<FileUploadResult> UploadThumbnail(
Stream FileByteStream
)
Public Function UploadThumbnail (
FileByteStream As Stream
) As XHRServiceResponseGeneric(Of FileUploadResult)
public:
virtual XHRServiceResponseGeneric<FileUploadResult^>^ UploadThumbnail(
Stream^ FileByteStream
) sealed
abstract UploadThumbnail :
FileByteStream : Stream -> XHRServiceResponseGeneric<FileUploadResult>
override UploadThumbnail :
FileByteStream : Stream -> XHRServiceResponseGeneric<FileUploadResult>
Parameters
- FileByteStream
- Type: System.IOStream
Form data including the thumbnail image content, and content unit id
Return Value
Type:
XHRServiceResponseGenericFileUploadResultResult of the thumbnail upload
Examples Sample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": {
"uploadedFiles": [
"xml\\_Thumbnails\\CUThumb_ContentUnits_33.jpg"
]
}
}
See Also