Table of Contents

Search

  1. Preface
  2. Introduction to Cloud Integration Hub
  3. Hub administration
  4. Project and Asset Management
  5. Applications
  6. Topics
  7. Data Integration tasks
  8. File ingestion tasks
  9. Publications
  10. Subscriptions
  11. Tracking and monitoring
  12. Cloud Integration Hub REST APIs
  13. Glossary

Cloud Integration Hub

Cloud Integration Hub

Run Publication Subscription REST API Request

Run Publication Subscription REST API Request

Cloud Integration Hub
uses different REST URLs for running a publication and for running a subscription.
To run a publication, use the following REST URL:
https://<pod>.<baseUrl>/
dih-console/api/v1/publication/start
Where:
  • <pod>
    is the name of the
    Informatica Intelligent Cloud Services
    point of delivery (PoD) where you access
    Cloud Integration Hub
    . For example:
    cih-pod1
    ,
    or
    emw1-cih
    .
  • <baseUrl>
    is the
    Informatica Intelligent Cloud Services
    URL. For example:
    dm-us.informaticacloud.com/
    .
For example:
https://cih-pod1.dm-us.informaticacloud.com/
dih-console/api/v1/publication/start
To run a subscription, use the following REST URL:
https://<pod>.<baseUrl>/
dih-console/api/v1/subscription/start
Where:
  • <pod>
    is the name of the
    Informatica Intelligent Cloud Services
    point of delivery (PoD) where you access
    Cloud Integration Hub
    . For example:
    cih-pod1
    ,
    or
    emw1-cih
    .
  • <baseUrl>
    is the
    Informatica Intelligent Cloud Services
    URL. For example:
    dm-us.informaticacloud.com/
    .
For example:
https://cih-pod1.dm-us.informaticacloud.com/
dih-console/api/v1/subscription/start
Request syntax for running a publication
To run a publication, use the following request syntax:
Request headers
Include the following headers in the REST API request:
Content-Type: application/json Accept: application/json
Request body
Include the following in the REST API request:
{ "publicationName": "<publicationName>", "runDisabled": "<true/false>" }
The following list describes the elements of the request:
  • publicationName
    . Name of the publication to run.
  • runDisabled
    . Whether or not to run a publication that is in a Disabled status.
For example:
Content-Type: application/json Accept: application/json { "publicationName": "daily_sales", "runDisabled": "true" }
You can copy the values of
<pod>
and
<baseUrl>
from the
Cloud Integration Hub
URL after you access it from the My Services page of
Informatica Intelligent Cloud Services
.
Request syntax for running a subscription
To run a subscription, use the following request syntax:
Request headers
Include the following headers in the REST API request:
Content-Type: application/json Accept: application/json
Request body
Include the following in the REST API request:
{ "subscriptionName": "<subscriptionName>", "runDisabled": "<true/false>" }
The following list describes the elements of the request:
  • subscriptionName
    . Name of the subscription to run.
  • runDisabled
    . Whether or not to run a subscription that is in a Disabled status.
For example:
Content-Type: application/json Accept: application/json { "subscriptionName": "daily_report", "runDisabled": "true" }

0 COMMENTS

We’d like to hear from you!