Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
maxLevel2
excludeOlder Versions|Additional Resources|Related Links|Related Information

Overview

The Reltio Generic Execute Snap allows you to perform Read, Write, Update and Delete operations upon objects in the specified Reltio tenant by executing REST APIs (GET, PUT, POST, and DELETE). The API key that you specify in the Account settings determines the API calls that you can make. 

Prerequisites

Reltio account with a valid Tenant ID so that Tenant URL can be formed/API for Account settings. Also, the Reltio account must have appropriate read and write access to create objects in the Tenant.

Support for Ultra Pipelines  

Works in Ultra Pipelines

Limitations and Known Issues

  • You cannot roll back the productized Reltio Snap Pack in 4.20 to a prior version.

Snap Input and Output

Input/OutputType of ViewNumber of viewsExamples of upstream/downstream Snaps
InputDocument
Min: 0
Max: 1
  • JSON Generator
  • JSON Formatter
OutputDocument
Min: 1
Max: 1
  • Mapper 
  • Copy


Snap Settings


Empty Responses as Separate Documentsid
FieldField TypeDescription
Label*StringSpecify the name for the Snap. Modify this to be more specific, especially if there are more than one of the same Snap in the Pipeline.
Service URL*String

Specify the service URL in the format: .

The format to be followed:

  • For performing an operation on all objects of an object type: https://www.reltio.com/tenant_id/object_type
  • For performing an operation on specific object in an object type: https://www.reltio.com/tenant_id/object_type/object_id
  • For performing an operation on crosswalks related to an object: https://www.reltio.com/tenant_id/object_type/entity_id/crosswalks

Default Value{tenantUrl}/{serviceUri}
Example{tenantUrl}/{serviceUri}

HTTP Method*Dropdown list

Select the type of HTTP request.

  • Get
  • Post
  • Put
  • Delete

Default Value: Get 
Example: Post

HTTP Request BodyString

Specify the HTTP body of the request. Relevant to post request.

Info

You can provide this value dynamically as a Pipeline parameter and upstream parameter or directly in the Snap.

Default Value: [None] 

Query parameters

Use this field set to define query parameters and their values. The query parameters are attached to the URL using the HTTP query parameter syntax, separated by & and added as 'key=value'.

Info

You can provide the parameters dynamically as Pipeline parameters or directly in the Snap, but not as upstream values.


Query parameterString

Specify the name of the query parameter to pass in the API.

Default Value: [None]
Example: type

Query parameter valueString

Specify the value for the specified query parameter.

Default Value: [None]
Example: reltio

Raw data

Page Properties
hiddentrue
idSWAT-3167_Empty Responses as Separate Documents

Empty Responses as Separate Documents


Checkbox

Select this checkbox to write the HTTP response content to the output view as it is. If you deselect this checkbox, the data is parsed according to content type. 

Default Value: Deselected

Page Properties
hiddentrue
idSWAT-3167_
ERSD_Description

Select this checkbox to write all responses into separate output documents in the same order as they appear in the request body.

Deselect this checkbox to group all empty responses into one output document.

Info

When you fetch multiple entities with POST {TenantURL}/entities/_byUris, the non-existing entities result in empty-string responses.

Default Value: Deselected


Empty Responses as Separate DocumentsCheckbox
Page Properties
SWAT-3167_ERSD_Description

Select this checkbox to write all responses into separate output documents in the same order as they appear in the request body.

Deselect this checkbox to group all empty responses into one output document.

Info

When you fetch multiple entities with POST {TenantURL}/entities/_byUris, the non-existing entities result in empty-string responses.

Default Value: Deselected

Retry limitInteger

Specify the maximum number of attempts to get the response. 
Minimum value: 1
Maximum value: 10

Default Value: 5

Snap Execution

Dropdown list

Multiexcerpt include macro
nameExecution_Detail_Write
pageSOAP Execute


Troubleshooting

Error

Reason

Resolution

When you configure the Reltio OAuth2 Account for the Reltio Generic Execute Snap, it fails due to invalid input.

errorCode: 543

The user does not have a valid email ID to export data.

To resolve this issue, specify an email parameter in the Query parameters and retry the execution. The pipeline should run successfully.

Image Added


Examples


GET

The pipelines Pipelines below demonstrates how the Reltio Generic Execute Snap can be used to read Reltio objects and Crosswalks. Based on the Snap's configuration you can either read one or all objects of a type. All four pipelines are included in one file and can be downloaded from the Downloads section below.

Expand
titleRead by object type

This pipeline shows how all entities can be read from the specified tenant URL and the data sent downstream for further processing. The pipeline is as shown below:

The Reltio Generic Execute Snap is configured as shown below: 

 

An output preview of of the Snap's execution is as shown below, it lists details of all the entities in the tenant:


Expand
titleRead by object ID

To retrieve details of a specific entity, the Service URL property will have to be configured to include the entity ID in question. The pipeline is as shown below:

The Reltio Generic Execute Snap is configured as shown in the screenshot below, the configuration is the same as that in the above example with the only difference being that the Service URL includes the entity ID.

An output preview of of the Snap's execution is as shown below, it lists details of the specified entity:


Expand
titleRead by object ID using Pipeline Parameters

This pipeline demonstrates the Reltio Generic Execute Snap accepting Pipeline Parameters:

 

The Pipeline Parameter is configured as shown below:

The Reltio Generic Execute Snap is configured as shown below, the value for the Service URL property is passed as a Pipeline Parameter:

 

An output preview of of the Snap's execution is as shown below, it lists details of the specified entity:


Expand
titleRead crosswalks

The same pipeline Pipeline shown in the example above can be modified to show crosswalk data for a specified entity. This is demonstrated in the pipeline Pipeline below:

The Reltio Generic Execute Snap is configured as shown in the screenshot below:

An output preview of of the Snap's execution is as shown below, it lists details of the crosswalks related to the specified entity:


Downloads

Multiexcerpt include macro
namedownload_instructions
pageOpenAPI

Attachments
patterns*.slp,*.zip


Insert excerpt
Reltio Snap Pack
Reltio Snap Pack
nopaneltrue