Skip to main content
Version: ADONIS 14-15/ADOIT 15-16/ADOGRC 11-12

Update a risk's data

This article shows how to use the ADOXX API to update data in an existing object.

The Java snippet below will change the frequency of the risk assessment in a risk whose ID we already know (e.g. retrieved via a search query).

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:
{
"locale": "en",
"item": {
"rest_links": [ ... ],
"id": " ... ",
"name": " ... ",
"type": " ... ",
"artefactType": " ... ",
"metaName": " ... ",
"link": { ... },
"icon": { ... },
"attributes": [ ... ],
"relations": [ ... ]
}
}