Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Audit → LogCreate

AI-generated

Summary

Create a new system audit log entry by submitting a JSON object with details such as level, operation, source, content type, content, expiration, tags, and additional properties.

Inputs

  • Body (required) — Provide the audit log details as a JSON object containing fields like 'level', 'operation', 'source', 'contentType', 'content', 'expiration', 'expirationHours', 'tags', and 'properties'.

Output shape

a single JSON object representing the created audit log entry

The operation returns the created audit log JSON; errors include detailed messages and stack traces if applicable.

Examples

Example 1: Create an audit log entry indicating a user operation

Set 'Body' with JSON specifying 'level': 'info', 'operation': 'UserLogin', 'source': 'AuthService', 'contentType': 'application/json', 'content': 'User login successful', optional 'expiration' or 'expirationHours', 'tags', and 'properties' as needed.

Discussion