Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Audit → UserLogCreate

AI-generated

Summary

Create a new user log entry in the Zen ERP system's audit log with specified details such as level, operation, source, content type, content, expiration, tags, and additional properties.

Inputs

  • Body (required) — A JSON object specifying the user log details including required 'level' and optional fields like 'operation', 'source', 'contentType', 'content', 'expiration', 'expirationHours', 'tags', and 'properties'.

Output shape

a single JSON object representing the created user log entry

Returns the created user log entry as a JSON object; errors may include detailed message and stack trace information.

Examples

Example 1: Create user log

Set 'resource' to 'System/Audit' and 'operation' to 'UserLogCreate', then provide the 'Body' JSON with log details such as level, operation, and content.

Discussion