SchemaDesignerServicesUploadThumbnail Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<FileUploadResult> UploadThumbnail( Stream FileByteStream )
The form data contains the image file content, and schema id
Sample Request Payload
------WebKitFormBoundaryIsc6Uv65BQgyyAkV Content-Disposition: form-data; name="contentId" AboutPage ------WebKitFormBoundaryIsc6Uv65BQgyyAkV Content-Disposition: form-data; name="updateonconflicts" true ------WebKitFormBoundaryIsc6Uv65BQgyyAkV Content-Disposition: form-data; name="file"; filename="maxresdefault.jpg" Content-Type: image/jpeg ------WebKitFormBoundaryIsc6Uv65BQgyyAkV--
Information on uploaded file
Sample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": {
"uploadedFiles": [
"xml\\_Thumbnails\\SchemaThumb_schemas_1-7.jpg"
]
}
}