Skip to main content Skip to complementary content

ExportAll

General

URL

https://{host}/attunityenterprisemanager/api/v1/servers/{ServerName}?action=export

Description

Export all definitions from the requested server repository on the selected server (server settings, tasks, endpoints, and so on). The definitions are exported to a JSON file.

Supported only with Replicate 5.2 and later.

HTTP method

GET

Required user role

See Required Enterprise Manager permissions.

Request parameters

Request parameters
Location URL Param Name Required Example

URL

Host [string]

Yes

computer.network.net

URL ServerName [string]

Yes

myrepsrv1

Header

EnterpriseManager.APISessionID [string]

Yes

wCo0_KvjEUFROvfHF5KGrw

Response

JSON File

cURL example

Request

curl -i -k --header "EnterpriseManager.APISessionID: wCo0_KvjEUFROvfHF5KGrw" https://computer.network.net/attunityenterprisemanager/api/v1/servers/ myrepsrv1?action=export

Response

JSON file (stream)

Error response

Error responses
HTTP Code Enterprise Manager Code Text Description

500

AEM_METHOD_NOT_SUPPORTED_VERSION

ExportAll is only supported on Replicate 5.2 or above.

The method requires Replicate 5.2 or above.

500

AEM_EXPORT_NO_PERMISSION_ON_TASK

Failed to export all tasks from Replicate server {server} as the logged in user does not have permission to export one or more of the defined tasks.

Export all cannot be carried out because the user does not have permissions on one or more tasks.

500

AEM_EXPORT_NO_PERMISSION_ON_ENDPOINT

Failed to export all tasks from server {server} as the logged in user does not have permission to export one or more of the defined endpoints.

Export all cannot be carried out because the user does not have permissions on one or more endpoints.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!