Reltio Connect

 View Only
  • 1.  HTTP Status 404 – Not Found

    Posted 05-17-2023 12:25

    Hi Experts,
    I am trying multiple API requests via Postman and getting two different kinds of error responses.
    I am looking for expert support to fix and run the APIs. Below are the details with the screenshots.

    First Error:
    HTTP Status 404 – Not Found

    I tried a POST method based on specific filter parameters to run the export request. Below is the screenshot.
    serviceURL = https://xx-xx-xx.reltio.com/reltio/

    Result (shows Error HTTP Status 404 – Not Found):


    <!doctype
     html>
    <html lang="en">

    <head>
        <title>HTTP Status 404 ? Not Found</title>
        <style type="text/css">
            body {
                font-family: Tahoma, Arial, sans-serif;
            }

            h1,
            h2,
            h3,
            b {
                color: white;
                background-color: #525D76;
            }

            h1 {
                font-size: 22px;
            }

            h2 {
                font-size: 16px;
            }

            h3 {
                font-size: 14px;
            }

            p {
                font-size: 12px;
            }

            a {
                color: black;
            }

            .line {
                height: 1px;
                background-color: #525D76;
                border: none;
            }
        </style>
    </head>

    <body>
        <h1>HTTP Status 404 ? Not Found</h1>
    </body>

    </html>


    Second Error:

    HTTP Status 405 – Method Not Allowed


    I tried a DELETE method to delete one of the entity types. Below is the screenshot.


    Result (shows Error HTTP Status 405 – Method Not Allowed):

    <!doctype html>
    <html lang="en">

    <head>
        <title>HTTP Status 405 – Method Not Allowed</title>
        <style type="text/css">
            body {
                font-family: Tahoma, Arial, sans-serif;
            }

            h1,
            h2,
            h3,
            b {
                color: white;
                background-color: #525D76;
            }

            h1 {
                font-size: 22px;
            }

            h2 {
                font-size: 16px;
            }

            h3 {
                font-size: 14px;
            }

            p {
                font-size: 12px;
            }

            a {
                color: black;
            }

            .line {
                height: 1px;
                background-color: #525D76;
                border: none;
            }
        </style>
    </head>

    <body>
        <h1>HTTP Status 405 – Method Not Allowed</h1>
    </body>

    </html>



    -Best
    Piyush Sharma



  • 2.  RE: HTTP Status 404 – Not Found
    Best Answer

    Reltio Partner
    Posted 05-17-2023 23:26

    Hi Piyush,

    1. Here is the working url for Export:
    https://{{env}}.reltio.com/jobs/export/{{tenant}}/entities?select=attributes.Name,attributes.Addresses.City,createdTime&fileFormat=csv&dateFormat=readable&filter=contains(attributes.Name, '*au*')

    You have provided incorrect serviceURL and the name entities 

    2. To Delete the whole Entity Type:
    https://{{env}}.reltio.com/reltio/api/{{tenant}}/entities?entityType=Person

    tenantURl was incorrect and entityType should be provided as params and not in URL so it should be after ?.

    Please try out and let us know if this works.



    ------------------------------
    Sheshadri V
    Fresh Gravity
    ------------------------------



  • 3.  RE: HTTP Status 404 – Not Found

    Posted 05-18-2023 05:09

    Hi Sheshadri,

    I see I made a few mistakes. Thank you for identifying.

    I have another question (maybe the silly one). While exporting the entity (in my above example, where you identified the spelling error), how the system knows which entity I am referring to (which table I am referring to in the system, e.g. Person, Employee or any other) 



    ------------------------------
    PIYUSH SHARMA
    Cloudsufi
    ------------------------------



  • 4.  RE: HTTP Status 404 – Not Found

    Reltio Partner
    Posted 05-18-2023 05:18

    Hi Piyush,

    Good Question, 
    If you do not specify and entity in the filter criteria all the matches irrespective of entity is extracted in all entities.
    Let's say our filter criteria matches across 10 entity types (Person, Employee, Organization, etc) then all the matches in all entity types are exported. Like 100 in Person, 50 in Employee, 200 in Organization etc.
    If you want to specify entity type you can do so in filter
    ex: filter=(contains(attributes.Name, '*au*') and (equals(type, 'configuration/entityTypes/Person') or equals(type, 'configuration/entityTypes/Employee')))
    Here I'm filtering on Person or Employee.



    ------------------------------
    Sheshadri V
    Fresh Gravity
    ------------------------------