Uploads or replaces the thumbnail image for a document. Any existing thumbnail is overwritten.
/srv.asmx/UpdateDocumentThumbnail
/srv.asmx/UpdateDocumentThumbnail?authenticationTicket=...&documentPath=...&thumbnailContent=.../srv.asmx/UpdateDocumentThumbnail (form data)http://tempuri.org/UpdateDocumentThumbnail| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
documentPath |
string | Yes | Full infoRouter path of the document (e.g. /Finance/Reports/Q1Summary.pdf). |
thumbnailContent |
byte[] | Yes | Raw image bytes of the thumbnail. GIF format is recommended. |
<root success="true" />
<root success="false" error="Error message" />
The calling user must have Change Document Properties permission on the document.
POST /srv.asmx/UpdateDocumentThumbnail HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=abc123&documentPath=/Finance/Reports/Q1Summary.pdf&thumbnailContent=<base64-encoded-gif-bytes>
GetDocumentThumbnail.DeleteDocumentThumbnail.ThumbnailExists flag.