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):

NameContent-TypeDescription
string; any valueapplication/jsonJSON

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

NameContent-TypeDescription
string; Thumbnail.pngimage/pngBinary 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"}]