POST /audit/api/dms/objects/custom
As of Version | product version 2022 Spring | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Method | POST | |||||||||||||||||||||||||||||||||
Request Headers | Required headers:
Optional header:
| |||||||||||||||||||||||||||||||||
Response Format | HTTP status code | |||||||||||||||||||||||||||||||||
Specific Error Codes | Error Handling | |||||||||||||||||||||||||||||||||
Required Permission | successful authentication | |||||||||||||||||||||||||||||||||
Description | Stores a custom audit entry specified in the JSON request body. This internal endpoint of the AUDIT Service can be called by custom services running inside the yuuvis® Momentum cluster in order to allow for the creation of custom audit entries. The following values are stored in the corresponding database table:
As every audit entry, a custom audit entry can be retrieved via the endpoint GET /api/dms/objects/{objectId}/history. | |||||||||||||||||||||||||||||||||
Request Example | { "objects": [ { "properties": { "detail": { "value": "custom details" }, "subaction": { "value": 4321 }, "referredObjectId": { "value": "a7facd2f-0354-490f-8eb3-59a47649492c" }, "system:versionNumber": { "value": 2 } } } ] } | |||||||||||||||||||||||||||||||||
Response Example |
|