11.0 Step 8: Prepare Transformation

After you have successfully validated the transformation settings, you are ready to prepare the transformation for replication and cutover by using one of the "operation-*" links. The Prepare operation requires the following request body. Look at the API reference documentation under Transformations > POST > Request body > Schema to understand that the operation requires the following request body:

Method: POST

POST https://${serverIP}/MigrateApi/2019.8/transformations/${Transformation Id}?operation=Prepare
{
    "type": "MigrateOptions",
    "migrationType": "full"
}

Example:

POST https://10.10.10.143/MigrateApi/2019.8/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2?operation=Prepare
{
    "type": "MigrateOptions",
    "migrationType": "full"
}

NOTE:The Prepare operation is one of the operation links in the POST response when you create a transformation or in the GET response when you get a transformation. See also Step 4: Create a Transformation and Step 5: Get Transformation.

Response: Data returned from POST

{
    "completedSynchronously": false,
    "operation": {
        "href": "https://10.10.10.143/MigrateApi/2019.8/operations/ea6d6ce8-1b15-4e62-a540-aa6400ec16cb",
        "rel": "self",
        "methods": [
            "GET"
        ]
    },
    "resource": {
        "href": "https://10.10.10.143/MigrateApi/2019.8/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2",
        "rel": "resource",
        "methods": [
            "GET"
        ]
    }
}