[POST] /convert

[POST] /convert

/api/bpm/organizations/convert

Description

This endpoint can be used to convert an export file from an older enaio version into the current enaio format. After the conversion the resulting file can be used for import into the current enaio version.

The request body must contain the raw XML content of the export file to be converted. The enaio server processes the file and returns the converted XML in the same enaio proprietary format.

An optional filename query parameter can be used to set the name of the downloaded file.

Required system role

R_WFEDIT_START (ID = 21)

Request
Method

POST

Request Optional Query Parameter

  • filename (String): Name of the downloaded XML file. Default: organization_converted

Response
Format

JSON

Minimum Version

1.5.0

Request
Example

/api/bpm/organizations/convert?filename=my_export

Raw XML data (Content-Type: application/xml) — the export file from an older enaio version.

 

Result
Example

Returns the converted export as an XML file download (Content-Type: application/xml). The content of the file is the converted version of the submitted export, compatible with the current enaio version.