Click or drag to resize

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
)

Parameters

FileByteStream
Type: System.IOStream
Form data including the thumbnail image content, and content unit id

Return Value

Type: XHRServiceResponseGenericFileUploadResult

Result of the thumbnail upload

Examples

Sample JSON return

JavaScript
{
    "ContentFreezeEndTime": "",
    "ContentFreezeStartTime": "",
    "code": 0,
    "error": null,
    "message": {
        "uploadedFiles": [
            "xml\\_Thumbnails\\CUThumb_ContentUnits_33.jpg"
        ]
    }
}
See Also