Siebel Database Upgrade Guide for DB2 for z/OS > REST API References for Migration Services > Using REST API with the Migration Runtime Repository Data Service >

Getting Status with the Migration Runtime Repository Data Service


You can get status for a Migration Runtime Repository Data Service resource by sending an HTTP POST request to the repository resource's URI.

The following details are for a request to get status for a resource:

  • URI: http://<host>:<port>/siebel/v1.0/service/Migration Runtime Repository Data Service/GetStatus
  • HTTP Method: POST
  • Content-Type: application/json
  • Authorization: Basic
  • Request parameters:
    • trackingid: Contains the tracking identification value.
    • getlog: If the value of this parameter is true, the log content of the resource along with the status is returned in the response. If the value is false, only the status is returned in the response.
    • migrationid: Use the migrationid parameter to include the migration identification value in the REST API request.
  • Request body:

    {
      "body":
      {
        "trackingid":"<tracking id value>",
        "migrationid", "<Migration Id value>"
        "getlog":"TRUE"
    }
    }

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

  • HTTP Code: 200
  • Content-Type: application/json
  • Response parameters:
    • status: Returns a value for the status of the request:
      • running: Indicates that the resource is running.
      • success: Indicates that the request was completed successfully.
      • error: Indicates that the request failed and the error parameter is populated with an error message.
    • error: Returns an error message if an error is encountered.
    • log: Returns log file content if the getlog parameter value is set to TRUE.
  • Response body:

    {
      "status": "success",
      "error": "",
      "log": <log file content>
    }

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