Exports Selected Design Objects
post
[host-url]/dt-rest/v2/migration/export
Exports selected design objects, such as Projects, Data Flows, Workflows, Variables, Data Loads, Folders and Connections, to a zip file stored in the specified object storage connection.
To export all objects from a project:
To export specific objects:
To export all objects from a project:
{ "objectStorageConnectionId":"your_obj_storage_connection_id", "exportFileName":"your_file_name.zip", "objects":[ { "objectId":"your_object_id", "objectType":"Project" } ] } To export specific objects:
{ "objectStorageConnectionId":"your_obj_storage_connection_id", "exportFileName":"your_file_name.zip", "objects":[ { "objectId": "your_connection_id", "objectType": "Connection" }, { "objectId": "your_workflow_id", "objectType": "Workflow" }, { "objectId": "your_data_load_id", "objectType": "Data Load" } ] } Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectJSON for exporting data.
Show Source
-
allConnections: boolean
-
exportFileName(required): string
-
fullExport: array
fullExport
-
jobDTO:
RuntimeJobDTO
-
objects: array
objects
-
objectStorageConnectionId(required): string
Example:
{
"objectStorageConnectionId":"your_obj_storage_connection_id",
"exportFileName":"your_file_name.zip",
"fullExport":[
{
"projectId":"your_project_id",
"export":[
"WORKFLOW",
"DATA_FLOW"
]
}
],
"allConnections":false
}Nested Schema : fullExport
Type:
Show Source
array-
Array of:
object ExportItemDTO
Represents an export item.
Nested Schema : RuntimeJobDTO
Match All
JSON that represents a job during runtime with additional job metadata, such as execution statistics, record statistics, and job variables.
Show Source
-
object
RuntimeJobBaseDTO
Represents a job during runtime.
-
object
RuntimeJobDTO-allOf[1]
JSON that represents a job during runtime with additional job metadata, such as execution statistics, record statistics, and job variables.
Nested Schema : objects
Type:
Show Source
array-
Array of:
object DTObjectDTO
Represents an object to be exported.
Nested Schema : export
Type:
Show Source
array-
Array of:
string
Allowed Values:
[ "DATA_FLOW", "WORKFLOW", "DATA_LOAD", "SCHEDULE", "VARIABLE" ]Enumerates the types of export operations that can be performed. The export types include data flows, workflows, data loads, schedules, and variables.- Data flow: To export all dataflows from the given project.
- Workflow: To export all workflows from the given project.
- Data load: To export all data loads from the given project.
- Schedule: To export all schedules from the given project.
- Variable: To export all variables from the given project.
Nested Schema : RuntimeJobBaseDTO
Type:
objectRepresents a job during runtime.
Show Source
-
endDate: string
(date-time)
-
jobId: string
-
jobName(required): string
-
jobNumber: integer
(int64)
-
startDate: string
(date-time)
-
status: string
Allowed Values:
[ "WAITING", "ERROR", "RUNNING", "DONE", "WARNING", "QUEUED", "NOT_STARTED", "PREPARING", "VALID", "INVALID" ]Enumerates the possible statuses of a job.- Waiting: The Job is waiting to be executed.
- Error: The Job terminated due to an error.
- Running: The Job is being executed.
- Done: The Job executed successfully.
- Warning: The Job completed successfully but errors have been detected during the data quality check.
- Queued: The Job is waiting for an agent to be available for its execution.
- Not started: The Job has not started.
- Preparing: The Job is preparing to be executed.
- Valid: The Job is valid to be executed.
- Invalid: The Job is not valid to be executed.
Nested Schema : RuntimeJobDTO-allOf[1]
Type:
objectJSON that represents a job during runtime with additional job metadata, such as execution statistics, record statistics, and job variables.
Show Source
-
errorMessage: string
-
executionStatistics: object
executionStatistics
Complex object: ExecutionStatisticsDTO
-
jobVariables: object
jobVariables
Additional Properties Allowed: additionalProperties
-
recordStatistics: object
recordStatistics
Complex object: RecordStatisticsDTO
-
synchronous: boolean
Nested Schema : executionStatistics
Type:
objectComplex object: ExecutionStatisticsDTO
Nested Schema : recordStatistics
Type:
objectComplex object: RecordStatisticsDTO
Response
Supported Media Types
- application/json
200 Response
Response object containing the job information for the Export job.
Root Schema : schema
Type:
objectJSON for exporting data.
Show Source
-
allConnections: boolean
-
exportFileName(required): string
-
fullExport: array
fullExport
-
jobDTO:
RuntimeJobDTO
-
objects: array
objects
-
objectStorageConnectionId(required): string
Example:
{
"objectStorageConnectionId":"your_obj_storage_connection_id",
"exportFileName":"your_file_name.zip",
"fullExport":[
{
"projectId":"your_project_id",
"export":[
"WORKFLOW",
"DATA_FLOW"
]
}
],
"allConnections":false
}Nested Schema : fullExport
Type:
Show Source
array-
Array of:
object ExportItemDTO
Represents an export item.
Nested Schema : RuntimeJobDTO
Match All
JSON that represents a job during runtime with additional job metadata, such as execution statistics, record statistics, and job variables.
Show Source
-
object
RuntimeJobBaseDTO
Represents a job during runtime.
-
object
RuntimeJobDTO-allOf[1]
JSON that represents a job during runtime with additional job metadata, such as execution statistics, record statistics, and job variables.
Nested Schema : objects
Type:
Show Source
array-
Array of:
object DTObjectDTO
Represents an object to be exported.
Nested Schema : export
Type:
Show Source
array-
Array of:
string
Allowed Values:
[ "DATA_FLOW", "WORKFLOW", "DATA_LOAD", "SCHEDULE", "VARIABLE" ]Enumerates the types of export operations that can be performed. The export types include data flows, workflows, data loads, schedules, and variables.- Data flow: To export all dataflows from the given project.
- Workflow: To export all workflows from the given project.
- Data load: To export all data loads from the given project.
- Schedule: To export all schedules from the given project.
- Variable: To export all variables from the given project.
Nested Schema : RuntimeJobBaseDTO
Type:
objectRepresents a job during runtime.
Show Source
-
endDate: string
(date-time)
-
jobId: string
-
jobName(required): string
-
jobNumber: integer
(int64)
-
startDate: string
(date-time)
-
status: string
Allowed Values:
[ "WAITING", "ERROR", "RUNNING", "DONE", "WARNING", "QUEUED", "NOT_STARTED", "PREPARING", "VALID", "INVALID" ]Enumerates the possible statuses of a job.- Waiting: The Job is waiting to be executed.
- Error: The Job terminated due to an error.
- Running: The Job is being executed.
- Done: The Job executed successfully.
- Warning: The Job completed successfully but errors have been detected during the data quality check.
- Queued: The Job is waiting for an agent to be available for its execution.
- Not started: The Job has not started.
- Preparing: The Job is preparing to be executed.
- Valid: The Job is valid to be executed.
- Invalid: The Job is not valid to be executed.
Nested Schema : RuntimeJobDTO-allOf[1]
Type:
objectJSON that represents a job during runtime with additional job metadata, such as execution statistics, record statistics, and job variables.
Show Source
-
errorMessage: string
-
executionStatistics: object
executionStatistics
Complex object: ExecutionStatisticsDTO
-
jobVariables: object
jobVariables
Additional Properties Allowed: additionalProperties
-
recordStatistics: object
recordStatistics
Complex object: RecordStatisticsDTO
-
synchronous: boolean
Nested Schema : executionStatistics
Type:
objectComplex object: ExecutionStatisticsDTO
Nested Schema : recordStatistics
Type:
objectComplex object: RecordStatisticsDTO
401 Response
Unauthorized
404 Response
Not Found