Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. IDMC REST API
  3. REST API resource quick references
  4. Platform REST API version 2 resources
  5. Platform REST API version 3 resources
  6. Data Integration REST API
  7. Cloud Data Integration for PowerCenter (CDI-PC) REST API
  8. Data Ingestion and Replication REST API
  9. Customer Managed REST API
  10. RunAJob utility
  11. ParamSetCli utility
  12. REST API codes

REST API Reference

REST API Reference

Copying a streaming ingestion and replication task

Copying a
streaming ingestion and replication
task

Use the CopyEntities resource to copy
streaming ingestion and replication
tasks.

POST request

To copy
streaming ingestion and replication
tasks, use the following URL:
<server URI>/sisvc/restapi/v1/CopyEntities
You can include the following fields in the request:
Field
Type
Required
Description
targetLocationID
String
Yes
ID of the target location to copy the objects to.
sourceEntities
Array
Yes
Configuration of the source and target connections.
sourceId
String
Yes
ID of the source object.
targetName
String
Yes
Name of the target object.
targetDescription
String
-
Description of the target object.

POST request example

To copy two
streaming ingestion and replication
tasks, you might send a request similar to the following example:
POST <serverUrl>/sisvc/restapi/v1/CopyEntities Content-Type: application/json Accept:application/json IDS-SESSION-ID:2l0oeVx22Rujiej7yTokmT { "targetLocationID": "2RGmVdwN15PbfnQP5PSoSB", "sourceEntities": [ { "sourceId": "5Ff6jeaSh2UfAqiV01ldKD", "targetName": "Test_Copy_A", "targetDescription": "Description_1" }, { "sourceId": "fZnCSqcWTOQkJOr8VCWZQE", "targetName": "Test_Copy_B", "targetDescription": "Description_2" } ] }
If the request is unsuccessful, the response includes a reason for the failure.

POST response

When you use a POST request to copy
streaming ingestion and replication
tasks, it returns a success response if successful or an error object if an error occurs.

POST response example

If the request is successful, you might receive a response similar to the following example:
{ "Status Message": "Operation succeeded on 2 artifacts.", "Success": { "Test_Copy_A": "ideNJw6l54gizxofF53HQH", "Test_Copy_B": "cOQ3gcWKSYikzVqqg6IOok" } }

0 COMMENTS

We’d like to hear from you!