Rendering

API for updates on renderings

This API can be used to update comments on renderings

PATCH/api/renderings/{id}

Authorizations

X-AUTH-TOKEN
stringheaderrequired

Value for the X-AUTH-TOKEN header parameter.

Path Parameters

id
stringrequired

Rendering identifier

Request Body

application/json
required

The updated Rendering resource

{
  "comment": "My Comment"
}

Response

200application/json

Rendering resource updated

id
integer

Identifier generated by Output.Rocks.

Example: 12345

externalId
string

External id

Example: "external-id"

template
stringrequired

Template identifier.

Example: "my-invoice"

format
enum<string>

Document format to render

Available options: pdfdocodtrtfhtmltxt

Example: "pdf"

webhook
string

Webhook (identifier) to execute after document rendering.

Example: "my-webhook"

comment
string

Rendering Comment.

Example: "My Comment"

emailServer
string

Identifier of Email-Server configuration in Output.Rocks

Example: "my-smtp"