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

Consume Data REST API action response

Consume Data REST API action response

When you use the
Cloud Integration Hub
Consume Data REST API to consume data directly from a topic,
Cloud Integration Hub
returns the response code of the action that you perform in the REST API response.
Consuming data through the REST API returns one of the following response codes:
SUCCESS
Cloud Integration Hub
consumed the data successfully.
The response includes the consumed data in the following syntax:
{ "<table_name>": [ {"<column_name>":"<data>"} ] }
For example:
{ "Sales": [ {"Opportunity_Name":"string”,"Opportunity_Owner_Id":"string"} ], "Orders": [ {"Account_Name":"string","Account_Id":"string","OrderId": "string"} ] }
A SUCCESS response also includes the aggregated event ID of the subscription event that
Cloud Integration Hub
generates, the number of rows successfully processed, and the number of total rows processed.
FAILURE
Cloud Integration Hub
could not consume the data. For example, if is there is no pending data for the subscription to consume. The response includes a description of the error that caused the failure.

0 COMMENTS

We’d like to hear from you!