5.6 Set Job Thumbnail
POST https://{{domain}}/api/v2/job/thumbnail
Add or replace a thumbnail of an existing job. The thumbnail needs to be an RGB or RGBA PNG.
Request:
Content-type: Multipart/form-data
Form part 1(required):
Name | Content-Type | Description |
---|---|---|
string; any value | application/json | JSON |
JSON
- JobGUID (guid, required): the Job GUID
- PageNumber (integer, required): number from 1 to page count the page of the job the thumbnail belongs to.
Example:
{"JobGUID":"00092EA6-fb01-11e5-9b85-793ef2c92c66","PageNumber":1}
Form data 2: image/png
Name | Content-Type | Description |
---|---|---|
string; Thumbnail.png | image/png | Binary content of the PNG |
Response:
Content-type: application/json
Success:
- 200 OK :
Job thumbnail successfully saved
Request Body
[{"name"=>"JsonString", "value"=>"", "datatype"=>"null"}, {"name"=>"Thumbnail.png", "value"=>nil, "datatype"=>"null"}]