[POST] /import
/api/bpm/organizations/import
Description | This endpoint can be used to import a complete or partial organization from an export file (XML). The request is sent as a The
When The control JSON also lists which workflow families, process definitions, report configurations, routing list templates and system languages should be imported, each with its target | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Required system role | R_WFEDIT_START (ID = 21) | |||||||||
Request | POST Content-Type: multipart/form-data
| |||||||||
Minimum Version | BPM Service: 1.5.0 | |||||||||
Request |
Content-Type: multipart/form-data; boundary=----Boundary
------Boundary
Content-Disposition: form-data; name="file"; filename="organization_export.xml"
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-16" standalone="no"?>
<WorkflowImport>
...
</WorkflowImport>
------Boundary
Content-Disposition: form-data; name="data"
Content-Type: application/json
{
"organization": true,
"organizationId": "D637157E0C0742CE8EDABDD8BDF30E5B",
"reportConfigurations": [{
"id": "AA9CF7316A6648578D4CBA16DB7E30BD",
"organizationId": "D637157E0C0742CE8EDABDD8BDF30E5B",
"overwrite": true
}],
"routingListTemplates": [{
"id": "2E9F8FBF56E446AEBA5C5B66712AC38A",
"organizationId": "D637157E0C0742CE8EDABDD8BDF30E5B",
"overwrite": true
}],
"families": [{
"id": "9817A0BEA82A4B34BFFB0113FA196D95",
"parentId": "062A13A03BD8426197E8AFD6B87692B2",
"organizationId": "D637157E0C0742CE8EDABDD8BDF30E5B",
"overwrite": false,
"oldParent": true
}],
"processDefinitions": [{
"id": "06685317CB204F29A9F3C54EAE90BB74",
"parentId": "BFCA7C96F99346A9965979B77A61B045",
"organizationId": "D637157E0C0742CE8EDABDD8BDF30E5B",
"overwrite": false,
"oldParent": false
}],
"systemLanguages": [{
"sourceLocale": "de-DE",
"targetLocale": "de-DE",
"organizationId": "D637157E0C0742CE8EDABDD8BDF30E5B"
}]
}
------Boundary--
| |||||||||
Response Codes |
|