DocumentRendering API (v9.1)
Download OpenAPI specification:Download
Artionet: support@artionet.com URL: https://www.artionet.ch/
Render a document
Allows to render a document based on either a provided template or a saved template using provided data.
Request Body schema: application/json
inputFormat required | string [ 1 .. 10 ] characters |
outputFormat required | string [ 1 .. 10 ] characters |
data | string or null |
rendererOptions | string or null |
templateData | string or null |
templateName | string or null <= 50 characters |
Responses
Request samples
- Payload
Content type
application/json
{- "inputFormat": "string",
- "outputFormat": "string",
- "data": "string",
- "rendererOptions": "string",
- "templateData": "string",
- "templateName": "string"
}
Response samples
- 400
- 404
- 422
Content type
application/json
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}
Save a template
Allows to save/overwrite a template to use it with the rendering endpoint.
path Parameters
templateName required | string |
Request Body schema:
data required | string non-empty |
Responses
Request samples
- Payload
Content type
{- "data": "string"
}
Response samples
- 400
- 422
Content type
application/json
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}