Export All Design Objects

post

[host-url]/dt-rest/v2/migration/fullExport

Export all design objects within the project, such as Data Flows, Workflows, Variables, Data Loads, and Folders. It will also export dependent Connections, allowing the export of all Connections if specified.

To export all data flows from a project:
 { "objectStorageConnectionId":"your_obj_storage_connection_id", "exportFileName":"your_file_name.zip", "fullExport":[ { "projectId":"your_project_id", "export":["DATA_FLOW"] } ] } 

To export all workflows from a project:
 { "objectStorageConnectionId":"your_obj_storage_connection_id", "exportFileName":"your_file_name.zip", "fullExport":[ { "projectId":"your_project_id", "export":["WORKFLOW"] } ] } 

To export all data loads from a project:
 { "objectStorageConnectionId":"your_obj_storage_connection_id", "exportFileName":"your_file_name.zip", "fullExport":[ { "projectId":"your_project_id", "export":["DATA_LOAD"] } ] } 

To export all schedules from a project:
 { "objectStorageConnectionId":"your_obj_storage_connection_id", "exportFileName":"your_file_name.zip", "fullExport":[ { "projectId":"your_project_id", "export":["SCHEDULE"] } ] } 

To export all variables from a project:
 { "objectStorageConnectionId":"your_obj_storage_connection_id", "exportFileName":"your_file_name.zip", "fullExport":[ { "projectId":"your_project_id", "export":["VARIABLE"] } ] } 

To export all objects from a specified project, filtering by the type of resources you want to export. E.g. To export all workflows and data flows from a project.:
 { "objectStorageConnectionId":"your_obj_storage_connection_id", "exportFileName":"your_file_name.zip", "fullExport":[ { "projectId":"your_project_id", "export":["WORKFLOW","DATA_FLOW"] } ] } 

To export all connections:
 { "objectStorageConnectionId":"your_obj_storage_connection_id", "exportFileName":"your_file_name.zip", "allConnections": true } 

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
JSON for exporting data.
Show Source
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: array
Show Source
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
Nested Schema : objects
Type: array
Show Source
Nested Schema : ExportItemDTO
Type: object
Represents an export item.
Show Source
Nested Schema : export
Type: array
Show Source
  • 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: object
Represents a job during runtime.
Show Source
  • 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: object
JSON that represents a job during runtime with additional job metadata, such as execution statistics, record statistics, and job variables.
Show Source
Nested Schema : executionStatistics
Type: object
Complex object: ExecutionStatisticsDTO
Nested Schema : jobVariables
Type: object
Additional Properties Allowed
Show Source
Nested Schema : recordStatistics
Type: object
Complex object: RecordStatisticsDTO
Nested Schema : DTObjectDTO
Type: object
Represents an object to be exported.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Response object containing the job information for the Export job.
Body ()
Root Schema : schema
Type: object
JSON for exporting data.
Show Source
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: array
Show Source
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
Nested Schema : objects
Type: array
Show Source
Nested Schema : ExportItemDTO
Type: object
Represents an export item.
Show Source
Nested Schema : export
Type: array
Show Source
  • 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: object
Represents a job during runtime.
Show Source
  • 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: object
JSON that represents a job during runtime with additional job metadata, such as execution statistics, record statistics, and job variables.
Show Source
Nested Schema : executionStatistics
Type: object
Complex object: ExecutionStatisticsDTO
Nested Schema : jobVariables
Type: object
Additional Properties Allowed
Show Source
Nested Schema : recordStatistics
Type: object
Complex object: RecordStatisticsDTO
Nested Schema : DTObjectDTO
Type: object
Represents an object to be exported.
Show Source

401 Response

Unauthorized

404 Response

Not Found
Back to Top