exportWorkflowConfiguration

POST
1
/{orgId}/admin/{itemId}/export

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

Query parameters

NameTypeRequired

token

string

Body parameters

Supported content types: application/json

NameTypeRequiredDescription

Export settings

body

Export settings

Path parameters

NameTypeRequired

orgId

string

itemId

string

Examples

Request

1
2
3
4
5
6
# 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}' \
  --data '{"jobTemplateIds":["string"],"diagramIds":["string"],"includeOtherConfiguration":true,"passphrase":"string"}'

Response

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close