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
}
| Value | Type | Description |
|---|---|---|
| scoreRiesgo | Int | Total percentage of the calculated risk score. |
| %RO | Int | Operational Risk percentage of the consulted document. |
| %LAFT | Int | LAFT Risk percentage of the consulted document. |
| %RR | Int | Reputational Risk percentage of the consulted document. |
| mostrarScore | Boolean | Indicates if the consulted data has a risk score. |
| error | String | Error message that only appears when an error occurs in the source. |
Risk Score Values
| Value | Description | Color |
|---|---|---|
| 0-50 | Indicates that the consulted data presents risk. | Red |
| 51-84 | Indicates that the consulted data presents a warning. | Yellow-Orange |
| 85-100 | Indicates that the consulted data presents no issues. | Green |