GET /api/dms/objects/{objectId}/versions/{versionNr}/contents/renditions​/pdf

As of Versionproduct version 2022 Winter
Request MethodGET
Response FormatPDF
Required Permissionaction read
>> Roles and Role Sets
Description

Returns the content file's PDF rendition of the DMS document object version specified by objectId and versionNr.

If the specified objectId does not exist, the call results in the error 404 - Not Found. Further errors are triggered by referencing an object without a content file or with a non-convertible content file.

The endpoint accepts the the target file types listet for the endpoint GET /api/dms/objects/{objectId}/contents/renditions​/pdf.

Response HeaderContent-Type: application/pdf
Request Example
/api/dms/objects/903f2ae8-2cfc-476c-8386-55c6811e41da/versions/2/contents/renditions/pdf
Result ExampleResponse body with PDF document.