Skip to main content

Risk Score

To download the PDF, you can use the token already generated. If you don’t have the token, you can click here to see how to generate one.

Once the authentication token is generated, you should call one of the following endpoints using the GET method and send the token in the "Bearer" header (authorization: Bearer).

🔗 Endpoint to consult

The @idDatoConsultado@ is sent in the JSON structure of the consolidated service and should be used to call the following endpoints:

GEThttp://localhost:8080/ValidadorDatainnova/ws/ScoreRiesgoService/@idDatoConsultado@

📦 JSON Structure

{
"scoreRiesgo": 69,
"%RO": 10.5,
"%LAFT": 0,
"%RR": 20.5,
"mostrarScore": true
}
ValueTypeDescription
scoreRiesgoIntTotal percentage of the calculated risk score.
%ROIntOperational Risk percentage of the consulted document.
%LAFTIntLAFT Risk percentage of the consulted document.
%RRIntReputational Risk percentage of the consulted document.
mostrarScoreBooleanIndicates if the consulted data has a risk score.
errorStringError message that only appears when an error occurs in the source.

Risk Score Values

ValueDescriptionColor
0-50Indicates that the consulted data presents risk.Red
51-84Indicates that the consulted data presents a warning.Yellow-Orange
85-100Indicates that the consulted data presents no issues.Green