Accelerate the Value of Data

Get Ratings Configuration

This operation returns a rating configuration for a tenant.

Request:

GET {TenantURL}/ratingConfiguration
Table 1. Get Ratings Configuration Parameters

Name

Required

Operation specific

Description

PathVariable

Tenant

Yes

Defines tenant that should be used to return configuration

Response

If there is a configuration defined for a tenant specified in Header of a request-JSON Object representing this configuration returns. If there is no configuration-Error.

Errors

  • 309: Tenant '{0}' not defined in a system
  • 310: Failed to process Reltio Business Model JSON loaded from Reltio data storage.

Example request

GET {TenantURL}/ratingConfiguration

Example response

GET {TenantURL}/ratingConfiguration
 
Body:
{
   "timestamp": 12345,
   "sources":{
      "configuration/sources/FB":[
         {
            "uris":[
               "configuration/relationTypes/HasAddress",
               "configuration/relationTypes/Employment"
            ],
            "minVoteWeight":2.0,
            "maxVoteWeight":5.0,
            "monthsToMinWeight":4.0
         },
         {
            "minVoteWeight":1.0,
            "maxVoteWeight":2.0,
            "monthsToMinWeight":1.0
         }
      ],
      "configuration/sources/LNKD":[
         {
            "uris":[
               "configuration/relationTypes/HasAddress"
            ],
            "minVoteWeight":2.0,
            "maxVoteWeight":5.0,
            "monthsToMinWeight":4.0
         },
         {
            "minVoteWeight":1.0,
            "maxVoteWeight":2.0,
            "monthsToMinWeight":1.0
         }
      ]
   },
   "userRoles":{
      "ROLE_ADMIN":[
         {
            "uris":[
               "configuration/relationTypes/HasAddress"
            ],
            "minVoteWeight":1.0,
            "maxVoteWeight":10.0,
            "monthsToMinWeight":2.6
         }
      ]
   }
}