Skip to main content
Version: ADONIS 13/ADOIT 14

Create a new artifact

This article shows how to use the ADOXX API to create new objects.

The snippet below will create a new ArchiMate artifact object in the repository.

note

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