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 a Watermark with the Migration Runtime Repository Data Service


You can get a water mark 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 a watermark for a resource:

  • URI: http://<host>:<port>/siebel/v1.0/service/Migration Runtime Repository Data Service/GetWaterMark
  • HTTP Method: POST
  • Content-Type: application/json
  • Authorization: Basic
  • Request parameters:
    • workspace: Use the workspace parameter to enter the name of the workspace branch in the REST API request.
    • version: Use the version parameter to enter the version number of the workspace branch. The value is 0 to the latest version of the specified workspace branch.
    • language: Use the language parameter to enter the language that will be migrated. If there is more than one language, they must be separated by a comma.
  • Request body:

    {
      "body":
      {
        "workspace":"<workspace branch name>",
        "version":"<version>",
        "language":"<languges to migrate>"
      }
    }

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

  • HTTP Code: 200
  • Content-Type: application/json
  • Response parameters:
    • watermark: Returns the watermark value.
  • Response body:

    {
      "watermark": "<Watermark value>"
    }

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