Skip to main content
Version: ADONIS 16-17/ADOIT 17/ADOGRC 13

Search for risks

This article shows how to use the ADOXX API to search for objects.

The Java snippet below will search for risk objects and return the first 20. For each risk object, we want to retrieve the name, the description and the frequency of the risk assessment.

note

The Java snippet below uses Basic Authentication.

Replace the values in angle brackets with values that fit your setup, e.g. instead of <HOST> use the host at which you access your ADOXX instance.

Click to view the code!

Source Code

Loading code...

The result should look similar to the following:

Status Code: 200
Result:
{
"rest_links": [ ... ],
"hitsTotal": 123,
"locale": "en",
"rangeStart": 0,
"rangeEnd": 20,
"items": [ ... ]
}