exportWorkflowConfigurationAsync

Click to copy

Start exporting a Workflow Manager configuration file asynchronously

Starts exporting 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. An export ID is returned to retrieve the configuration file. Use the exportId endpoint to retrieve the file.

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}/exportAsync \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Response

200 Response

Use dark colors for code blocksCopy
1
2
3
{
  "exportId": "string"
}
StatusMeaningDescriptionSchema

200

OK

The export ID

Inline

400

Bad Request

error

WorkflowJsonExceptionDTO

Response details

Status Code 200

ExportAsyncResponse

NameTypeRequiredDescription

exportId

string

The export ID

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