exportWorkflowConfiguration

Click to copy

Export a Workflow Manager configuration file

Exports a new Workflow Manager configuration (.wmc) file based on the indicated item. This file can be used with the import endpoint to update other item configurations. Configurations from Workflow items with a server that is on a more recent version will not import due to incompatability. If includeOtherConfiguration is set to false, the exported file only includes the individual configuration. If includeOtherConfiguration is undefined, it defaults to true. If includeOtherConfiguration is set to true, the configuration file includes the version, job templates, diagrams, roles, role-group associations, lookup tables, charts and queries, templates, and user settings of the indicated item. Encrypted settings must have a passphrase defined. If no passphrase is specified, encrypted keys will be exported without the values. The adminAdvanced privilege is required.

Body:

ParameterDescriptionData Type
jobTemplateIdsOptional. The job template(s) to be exported. If job template is exported, the associated diagram must be included to be exported.Array
diagramIdsOptional. The diagram(s) to be exported. If not defined, all diagrams are exported. If defined as empty, no diagram is exported.Array
includeOtherConfigurationOptional. If true other configurations are exported including templates, User defined settings, shared searches, shared queries, email settings etc.Boolean
passphraseOptional. If exporting encrypted user defined settings, define a passphrase. If no passphrase is specified, the keys for encrypted user defined settings will be exported without their values.String

Body parameter

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
{
  "jobTemplateIds": [
    "string"
  ],
  "diagramIds": [
    "string"
  ],
  "includeOtherConfiguration": true,
  "passphrase": "string"
}

Query parameters

NameTypeRequired

token

string

Path parameters

NameTypeRequired

orgId

string

itemId

string

Examples

Request

Use dark colors for code blocksCopy
1
2
3
4
5
# You can also use wget
curl -X POST /{orgId}/admin/{itemId}/export \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/octet-stream' \
  -H 'Authorization: Bearer {access-token}'

Response

200 Response

400 Response

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "error": {
    "message": "string",
    "type": "string",
    "details": [
      {
        "path": "string",
        "errors": [
          "string"
        ]
      }
    ]
  }
}
StatusMeaningDescriptionSchema

200

OK

The exported configuration

string

400

Bad Request

error

WorkflowJsonExceptionDTO

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.