Siebel Database Upgrade Guide for DB2 for z/OS > REST API References for Migration Services > Using REST API with Migration Application Workspace Data Service >

Getting a Seed Copy Import with the Migration Application Workspace Data Service


You can get a seed copy import for a Migration Application Workspace Data Service resource by sending an HTTP POST request to the repository resource's URI.

The following details are for a request to get a seed copy import for a resource:

  • URI: http://<host>:<port>/siebel/v1.0/service/Migration Application Workspace Data Service/SeedCopyImport
  • HTTP Method: POST
  • Content-Type: application/json
  • Authorization: Basic
  • Request parameters:
    • filename: Use the filename parameter to include the name of the file to be imported.
    • migrationid: Use the migrationid parameter to include the migration identification value in the REST API request.
  • Request body:

    {
      "body":
      {
        "filename":"<file name value>"
        "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>"
    }

Siebel Database Upgrade Guide for DB2 for z/OS Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.