Writing the Watermark with the Migration File Prepare and Deploy Service

You can write the watermark received from the target by sending an HTTP POST request to the (source) repository resource's URI.

The following details are for a request to write the watermark (received from the target) for a resource:

  • URI: http://<host>:<port>/siebel/v1.0/MigrationFilePrepareAndDeploy/writewatermarkfile

  • HTTP Method: POST

  • Content-Type: application/json

  • Authorization: Basic

  • Request parameters:

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

    • filename: File name for the watermark.

    • watermarkContents: Watermark contents received from the target.

  • Request body:

    {"body":{
      "migrationid": "<Migration Id value>",
      "Filename": "<File Name>",
      "watermarkContents": "<Watermark contents>"
      }
    }
    

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:

    {
      "tracking id": "<tracking id value>" 
    }
    
Note: If you generate the watermark in the target environment and you then want to transfer the Watermark Content to the source environment, then use the ReadWatermark and Writewatermark APIs as detailed in this topic. Otherwise, you must manually copy the Watermark from target to source, and you must do this before performing the export on source.