Validation API

Reltio allows you to validate your L3 configuration .

Use the following API to check for any validation errors in your L3 configuration:

Request

POST {{envUri}}/reltio/api/{{tenantId}}/configuration/_validation?validationErrorLevel=all
Table 1. Parameters
Parameter Required Default Description
validationErrorLevel No all errors, warnings, all: filter for the level of errors to be displayed in the output.

Response

A JSON object with errors and warnings.

Example Response

"configuration/entityTypes/IDN": {
       "errors": [
           {
               "severity": "Error",
               "errorMessage": "Attribute with URI 'configuration/relationTypes/HasAddress/attributes/RankConfidence' mentioned in IDN is not defined",
               "errorCode": 342,
               "errorDetailMessage": "The attribute with URI 'configuration/relationTypes/HasAddress/attributes/RankConfidence' mentioned in referencedAttributeURIs of Address doesn't exist in HasAddress or the URI has an invalid format"
         },
"configuration/entityTypes/HCP": {
        "errors": [
            {
                "severity": "Error",
                "errorMessage": "Attribute with URI 'configuration/entityTypes/HCP/attributes/Degree' mentioned in survivorship rules configuration is not found",
                "errorCode": 1916,
                "errorDetailMessage": "The attribute with URI 'configuration/entityTypes/HCP/attributes/Degree' mentioned in configuration/entityTypes/HCP doesn't exist or the URI has an invalid format"
            }
        ]
    },
"configuration/relationTypes/IDNtoGPO/attributes/ID": {
        "warnings": [
            {
                "severity": "Error",
                "errorMessage": "Attribute name 'GPO' doesn't match with attribute uri 'configuration/relationTypes/IDNtoGPO/attributes/ID'",
                "errorCode": 1811,
                "errorDetailMessage": "Attribute name 'GPO' doesn't match with attribute uri 'configuration/relationTypes/IDNtoGPO/attributes/ID'"
            }
        ]
    },
“configuration/entityTypes/Location": {
        "warnings": [
            {
                "severity": "Error",
                "errorMessage": "Number of reference attributes in a single entity record <type> should not exceed <value>.",
                "errorCode": 1900,
                "errorDetailMessage": "Number of reference attributes in a single entity record <type> should not exceed <value>, but the current number is <value>. Please reduce the number of reference attributes for the entity."
            }
        ]
    }
}

In the above example, the response contains the errors 342 and 1916, and warnings 1811 and 1900. To resolve these errors and warnings, see Finding and Resolving Business Configuration Errors.