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. Data Quality Mappings and Workflows
  6. Informatica Cloud Mappings and Tasks
  7. Data Integration Hub Workflows
  8. Data Integration Hub Transformations
  9. Operational Data Store Dashboard and Reports
  10. Forms Designer
  11. Data Integration Hub Publications and Subscriptions APIs
  12. Data Extraction APIs

Developer Guide

Developer Guide

Consume Data REST API Action Response

Consume Data REST API Action Response

When you use the
Data Integration Hub
Consume Data REST API to consume data directly from a topic,
Data 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
Data Integration Hub
consumed the data successfully.
The response includes the consumed data in the following syntax:
{ "<table_name>": [ {"<column_name>":"<data>"} ] "responseStatus": "<value>", "responseExtraMessage": "<string>", "responseType": "<value>", "aggregatedEventId": "<value>", "statsSuccessRows": "<value>", }
For example:
{ "Sales": [ {"Opportunity_Name":"string”,"Opportunity_Owner_Id":"string"} ], "Orders": [ {"Account_Name":"string","Account_Id":"string","OrderId": "string"} ] "responseStatus": "SUCCESS", "responseExtraMessage": "", "responseType": "application/json", "aggregatedEventId": "1566010", "statsSuccessRows": "4", }
A SUCCESS response also includes the aggregated event ID of the subscription event that
Data Integration Hub
generates, the number of rows successfully processed, and the number of total rows processed.
FAILURE
Data 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!