This example shows how to get information about a transformation that you created to see what settings are stored. Transformation data is separated in logical setting groups: Storage, Networking, Schedule, TargetSettings, ReplicationSettings, and ValidationResults. You can retrieve and modify settings for each group independently by using its link. Operations that you can perform on the transformation are identified by a relationship link starting with the string "operation-".
The POST method for creating a transformation returns the relationship links and operations links in the response data. See Step 4: Create a Transformation. If you know the transformation ID, you can also retrieve the same information by using the GET method.
Method: GET
https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2
Response: Data returned from POST or GET methods
{ "id": "50023e0d-91e3-4aef-b847-aa6400e4ffa2", "displayName": "SB-W2012-R2-STD", "sourceId": "2ab96271-3960-4865-8938-8fdf2520611c", "platformId": "82bf9b3f-075d-4513-8124-aa6400e2b870", "currentState": "Configured", "tags": null, "links": [ { "href": "https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2", "rel": "self", "methods": [ "GET" ] }, { "href": "https://10.10.10.143/MigrateApi/2019.5/operations/8bf13a70-91d1-48b6-b498-aa6400e504e8", "rel": "lastOperation", "methods": [ "GET" ] }, { "href": "https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2?operation=Prepare", "rel": "operation-Prepare", "methods": [ "POST" ] }, { "href": "https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2", "rel": "operation-Remove", "methods": [ "DEL" ] }, { "href": "https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2/storage", "rel": "Storage", "methods": [ "GET", "PUT" ] }, { "href": "https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2/networking", "rel": "Networking", "methods": [ "GET", "PUT" ] }, { "href": "https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2/schedule", "rel": "Schedule", "methods": [ "GET", "PUT" ] }, { "href": "https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2/targetSettings", "rel": "TargetSettings", "methods": [ "GET", "PUT" ] }, { "href": "https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2/replicationSettings", "rel": "ReplicationSettings", "methods": [ "GET", "PUT" ] }, { "href": "https://10.10.10.143/MigrateApi/2019.5/transformations/50023e0d-91e3-4aef-b847-aa6400e4ffa2/validationResults", "rel": "ValidationResults", "methods": [ "GET" ] } ] }