Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Audit → LogRead

AI-generated

Summary

Retrieve audit logs from the Zen ERP system applying optional query parameters for filtering, ordering, and pagination.

Inputs

  • q — Optional query string to filter audit logs.
  • order — Optional string to specify the order of returned logs.
  • first — Optional number indicating the zero-based index of the first record to retrieve.
  • max — Optional number specifying the maximum number of records to return.

Output shape

a list of JSON objects representing audit log entries

The response returns an array of audit log records matching the query parameters. Pagination can be controlled via 'first' and 'max' inputs. Errors are returned as error objects if continueOnFail is enabled.

Examples

Example 1: List the first 10 audit log entries ordered by date descending

Set 'order' to specify descending by date, 'first' to 0, and 'max' to 10.

Discussion