Joget DX Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Definition

Audit Trail API will list all records present in the Audit Trail.


NameDescription
1List audit trails

List all records present in the Audit Trail database table by default.

Able to filter or sort the returned results via parameters.

Name

Description
URL/auditTrails
HTTP MethodGET
Query String Parameters
ParameterDescription
search

Filters the response by querying the search terms for username, java class, java method, or output message.

Similar to the LIKE condition for database querying.

dateFrom

Filters the response from the specified date and time.

FormatYYYY-MM-DD hh:mm:ss (e.g: 2019-08-26 00:00:00)

dateTo

Filters the response to the specified date and time.

FormatYYYY-MM-DD hh:mm:ss (e.g: 2019-08-27 23:59:59)

sort

Audit trails data column to sort.

Must be used in conjunction with "sortDescending" parameter.

sortDescending

Sort the specified "sort" parameter value in ascending or descending order.

Expects a boolean value.

Must be used in conjunction with "sort" parameter.

startOffsetStarting position of records to start query. Expects an integer.
pageSizeNumber of results to return. Expects an integer.
Sample Response
[
  {
    "id": "4028e381697072b901697073acec0000",
    "username": "roleAnonymous",
    "appId": "appcenter",
    "appVersion": "1",
    "timestamp": "Mar 12, 2019 1:50:22 PM",
    "clazz": "org.joget.apps.workflow.security.WorkflowAuthenticationProvider",
    "method": "authenticate",
    "message": "Authentication for user admin (0:0:0:0:0:0:0:1) : true"
  },
	.....
]




  • No labels