Table of Contents

Search

  1. Preface
  2. Introduction to Data Integration Hub
  3. PowerCenter Mappings and Workflows
  4. Data Engineering Integration and Streaming Mapping and Workflows
  5. Informatica Cloud Mappings and Tasks
  6. Data Integration Hub Workflows
  7. Data Integration Hub Transformations
  8. Forms Designer
  9. Data Integration Hub Publications and Subscriptions APIs
  10. Data Extraction APIs

Developer Guide

Developer Guide

Change Publication Subscription Mode REST API

Change Publication Subscription Mode REST API

Use the
Data Integration Hub
Change Publication Subscription Mode REST API to change the mode of a publication or a subscription, that is, to enable a disabled publication or subscription or to disable an enabled publication or subscription.
To change the mode of a publication, use the following REST URL:
https://<pod>.<baseUrl>/
dih-console/api/v1/publication/changemode
Where:
For example:
https://cih-pod1.dm-us.informaticacloud.com/
dih-console/api/v1/publication/changemode
To change the mode of a subscription, use the following REST URL:
https:
https://<pod>.<baseUrl>/
dih-console/api/v1/subscription/changemode
Where :
For example:
https://cih-pod1.dm-us.informaticacloud.com/
dih-console/api/v1/subscription/changemode
Request syntax for changing the mode of a publication
To change the mode of a publication, use the following request syntax:
{ "publicationName": "<publicationName>", "mode": "<enable/disable>" }
For example:
{ "publicationName": "daily_sales", "mode": "enable" }
Request syntax for changing the mode of a subscription
To change the mode of a subscription, use the following request syntax:
{ "subscriptionName": "<subscriptionName>", "mode": "<enable/disable>" }
For example:
{ "subscriptionName": "daily_reports", "mode": "disable" }

0 COMMENTS

We’d like to hear from you!