6.8 Set Document Thumbnail
POST https://{{domain}}/api/v2/document/thumbnail
Add or replace a thumbnail of an existing document. The thumbnail needs to be an RGB or RGBA PNG.
Request
Content-Type: multipart/form-data
Query string parameters
- DocumentGUID - guid; required
Form data 1
Name | Content-Type | Description |
---|---|---|
string; JsonString | application/json | JSON |
Content: JSON object
- DocumentGUID (guid, required)
- PageNumber (int, required)
Form data 2
Name | Content-Type | Description |
---|---|---|
string; any value | image/png | Content is Document Thumbnail binary |
Response
200 OK
{
"Message": "Document thumbnail successfully saved",
"ThumbnailGUID": "guid"
}