[POST] /zip

[POST] /zip

/api/dms/objects/native/contents/zip

Description

An endpoint to download the content of multiple DMS documents within a ZIP file.
The browser will directly start a download and name the file as sent within the query parameter fileName. If no fileName is given the default name will be enaio-export.zip

Request Method

POST

Request Query Parameter

  • fileName (String): The file name how the download file should be called. If it's null, then its default name is "enaio-export.zip".

Response Format

JSON

Minimum Version

6.4.0

Request
Example

/api/dms/objects/native/contents/zip
/api/dms/objects/native/contents/zip?fileName=myZip

Request
Example

{ "objects": [{ "properties": { "system:objectId": { "value": "1234567" }, "system:objectTypeId": { "value": "262245" } } },{ "properties": { "system:objectId": { "value": "5566444" }, "system:objectTypeId": { "value": "262248" } } }] }

Result
Example

A byte sequence of the zip archive.