Unify and manage your data

Get Ratings Configuration

Learn about the API operation to get a rating configuration for a tenant.

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_TENANT":[ { "uris":[ "configuration/relationTypes/HasAddress" ], "minVoteWeight":1.0, "maxVoteWeight":10.0, "monthsToMinWeight":2.6 } ] } }