Table of Contents
Introduction
The audit trail is the history protocol of an object, serving to document its total lifecycle. There are many different actions that trigger the creation of a new entry in the respective object's audit trail. In this article, an overview of the different history codes is provided, that can occur in the audit trail.
History Codes
The GET "/dms/objects/{id}/history” REST endpoint returns a list of changes made to the object with the id {objectId}. The meanings of the individual history codes are listed in the table below.
Core API | Description | Constant | Explanation | Endpoints triggering the entry |
---|---|---|---|---|
Import: | ||||
100 | Object created | OBJECT_CREATED | The specified object was created by functions of the client or by an import. | /api/dms/objects |
101 | Document created | OBJECT_CREATED_WITH_CONTENT | The object was created using functions of the client or via an import operation. | /api/dms/objects |
110 | Object tag created | OBJECT_TAG_CREATED | A tag for the object was created. | /api/dms/objects/{objectId}/tags/{name}/state/{state} |
Deletion: | ||||
200 | Object irrevocably deleted | OBJECT_DELETED | The object was deleted and cannot be restored. | |
202 | Object marked for deletion | OBJECT_FLAGGED_FOR_DELETE | The object was moved to the recycle bin. | |
210 | Object tag deleted | OBJECT_TAG_DELETED | A tag for the object was deleted. | /api/dms/objects/{objectId}/tags/{name} |
Update: | ||||
300 | Index data modified | OBJECT_METADATA_CHANGED | The index data of the object or its status was edited using functions of the client or via an update carried out during the import operation. | |
301 | Content changed | OBJECT_DOCUMENT_CHANGED | The document was edited using functions of the client or via an update carried out during the import operation. | /api/dms/objects/{objectId}/contents/file |
303 | Object updated and content moved | OBJECT_UPDATE_CONTENT_MOVED | The object was updated and the document was moved. |
|
310 | Object tag modified | OBJECT_TAG_UPDATED | One of the object's tags was changed. |
|
Retrieve: | ||||
400 | Output content | DOCUMENT_ACCESSED | The document content was read by the user, printed, or otherwise output. No changes were made. | /api/dms/objects/{objectId}/contents/file |
401 | Index data retrieved | METADATA_ACCESSED | Die Indexdaten des Objektes wurden zur Ansicht abgerufen. | |
402 | Text preview downloaded | RENDITION_TEXT_ACCESSED | The text rendition of the object's document file was retrieved. | /api/dms/objects/{objectId}/contents/renditions/text |