Table of Contents

Search

  1. Preface
  2. Introduction to Informatica MDM - Relate 360
  3. Linking Batch Data
  4. Tokenizing Batch Data
  5. Processing Streaming Data
  6. Creating Relationship Graph
  7. Loading Linked and Consolidated Data into Hive
  8. Searching Data
  9. Monitoring the Batch Jobs
  10. Troubleshooting
  11. Glossary

User Guide

User Guide

GETRECORD Web Service

GETRECORD Web Service

The GETRECORD web service gets the matching records for the input data from the repository. Before you run the GETRECORD web service, run the GETRECORDLAYOUT web service to get the layout for the input data in the JSON format based on the configuration file. Based on the layout, you can specify the input data for the GETRECORD web service.

Request URL

Use the GET method to run the GETRECORD web service.
To run the GETRECORD web service, use the following URL format:
http://<Host>:<Port>/<WAR File Name>/<Version Number>/<Configuration File Identifier>/GETRECORD
For example:
http://localhost:8080/MDMBDRMSYS/
v5.0
/SYS/GETRECORD

Request Header

Use the request header to specify the following headers:
Token
Required if you secure the RESTful web services. Authentication token that the Authenticate web service returns. If the token is not valid or you do not specify the
Token
header, the web service request uses the
Authorization
header.
Authorization
Required if you have secured the RESTful web services, but optional if you specify the
Token
header.
Type of authentication and the user credentials in the Base64 format. The RESTful web services use the HTTP basic authentication. Use the following format to specify the value for the
Authorization
header:
Basic <Encoded User Credentials>
Basic
indicates the HTTP basic authentication, and
Encoded User Credentials
indicates the Base64 format of the user name and password separated by a colon. For example,
Authorization: Basic dGVzdDpUZXN0
Accept
Format of the response. The supported response format is JSON. Specify
application/json
as the header value.
Content-Type
Format of the request body. The supported format is JSON. Specify
application/json
as the header value.

Request Body

Use the request body to specify the input data for the GETRECORD web service based on the layout that the GETRECORDLAYOUT web service returns.
The following sample body lists the input records for which you want to retrieve the matching records:
{ "keyDataList":[ { "SOURCE":"SAP", "ID":"41" }, { "SOURCE":"Salesforce", "ID":"42" }, { "SOURCE":"SAP", "ID":"201" } ], "searchToken":-1, "pageLimit":10, "pageOffset":0, "totalCount":0, "debug":false, "resultCount":0, "messages":{ } }

Sample Response

The following sample response shows the matching records that the GETRECORD web service retrieved:
{ "record":{ }, "bulkRecord":[ { "keyData":{ "SOURCE":"SAP", "ID":"41" }, "record":{ "SALARY":"10001", "CITY":"Valencia", "ADDRESS":"ChurchStreet", "PHONE":"08040201001", "SOURCE":"SAP", "ID":"41", "PINCODE":"", "DOJ":"2012", "NAME":"Nani", "COMPANY":"Valencia F.C.", "AGE":"30" } }, { "keyData":{ "SOURCE":"Salesforce", "ID":"42" }, "record":{ "SALARY":"10000", "CITY":"Valenci", "ADDRESS":"ForumMall", "PHONE":"08040201002", "SOURCE":"Salesforce", "ID":"42", "PINCODE":"560104", "DOJ":"", "NAME":"Nani", "COMPANY":"", "AGE":"29" } }, { "keyData":{ "SOURCE":"SAP", "ID":"201" }, "record":{ "SALARY":"10001", "CITY":"Bangalore", "ADDRESS":"Bagmane TechPark", "PHONE":"08040201000", "SOURCE":"SAP", "ID":"201", "PINCODE":"560103", "DOJ":"2012", "NAME":"John Smith", "COMPANY":"INFA", "AGE":"30" } } ], "searchToken":-1, "pageLimit":10, "pageOffset":0, "totalCount":3, "debug":false, "resultCount":3, "messages":{ } }

0 COMMENTS

We’d like to hear from you!