Reltio Connect

 View Only
  • 1.  How to Pull Data into Python and Identify OV=True and OV=False Values

    Reltio Partner
    Posted 12-08-2021 15:35
    Hello,

    To be more efficient in my analysis, I am working on how to connect Reltio (via API calls) and Python together.

    I know that I can get the Python code for a given API from Postman. However, I need an API to pull data into Python based on a filter and find out which value is OV=True vs OV=False.

    Le's say, I bring the data into Python, which is my first question "how" (see below). Is there a way to point out FirstName1 field is the OV=True? 

    ID    FirstName1    FirstName2      FirstName3
    101   Eren                EREN                 eren

    Thanks in advance!

    ------------------------------
    Eren Zedeli
    Data Scientist
    Imidia LLC
    ------------------------------


  • 2.  RE: How to Pull Data into Python and Identify OV=True and OV=False Values

    Reltio Employee
    Posted 12-09-2021 10:10
    Hi Eren,

    When you GET an entity in Reltio, the response contains an object called 'attributes'.  Within that object are multiple arrays, one for each attribute.  Within the array is an object, one for each value (Eren, EREN, eren) that looks like the following (in this case, the attribute is called 'Name':
    "Name": [
    {
    "type": "configuration/entityTypes/RadioStation/attributes/Name",
    "ov": true,
    "value": "KRGB",
    "uri": "entities/1gYWRfWy/attributes/Name/2uwVXBv1E"
    }​


    .......

    As you can see, within the object, the ov is identified with a boolean.  I hope that answers your question.


    ------------------------------
    Gino Fortunato
    Senior Solution Engineer
    Reltio
    ------------------------------