Importing with the Migration Schema Service

You can import a Migration Schema resource by sending an HTTP POST request to the repository resource's URI.

The following details are for a request to import a resource:

  • URI: http://<host>:<port>/siebel/v1.0/service/Migration Schema Service/Import

  • HTTP Method: POST

  • Content-Type: application/json

  • Authorization: Basic

  • Request parameters:

    • filename: Use the Tracking Id value that is present in the response from Exporting with the Migration Schema Service.

    • username: Use the user name parameter to enter your database user name.

    • password: Use the password parameter to enter your database password, which must be in Base64 encoded format.

    • migrationid: Use the migrationid parameter to include the migration identification value in the REST API request.

  • Request body:

    {"body":{
      "filename": "<Tracking Id value>",
      "username": "<db username>",
      "password": "<base64 encoded database password>"
      "migrationid": "<Migration Id value>
      }
    }
    

The following are the details for the response to a successful request:

  • HTTP Code: 200

  • Content-Type: application/json

  • Response parameters:

    • trackingid: Returns the tracking identification value.

  • Response body:

    {  
      "trackingid": "<tracking id value>"
    }