Skip to main content
GET
Get one AuditTrailEntry
Represents a read-only log of entity creations and modifications by users or the system. Useful for troubleshooting issues or finding out when an entity was created and what modifications were made to it. Creation entries (AuditType = 1) do not record the values for the individual fields. To infer the initial values, look at the first update entry for that entity and read the OldValue for each property. Use AuditTrailEntry_EntityId to search by the integer ID of the audited record. Not all entities are fully audited. These are the ones currently supported by the AuditTrailEntry_EntityShortName filter: Charge, ContractSchedule, CoworkerBookingCredit, CoworkerContract, CoworkerExtraService, CoworkerInvoice, CoworkerLedgerEntry, CoworkerPaymentMethod, CoworkerProduct, FinancialAccount, CoworkerTask, CrmOpportunity, Booking, Checkin, Coworker, CoworkerIdentityCheck, Resource, Team, Visitor, Business, BusinessSetting, FloorPlanDesk, User. The AuditType field uses the eAuditType enum: 1 = Create, 2 = Update, 3 = Delete.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the AuditTrailEntry-Read role.

Path Parameters

integer
required
The Id of the AuditTrailEntry record to retrieve.

Code Examples

Response

200

integer
ID of the business linked to this record.
string
Short name of the audited entity type (e.g. Coworker, Booking, Charge).
string
Human-readable description of the audit trail entry.
string
Name of the property that was changed.
integer
Type of audit action: 1 = Create, 2 = Update, 3 = Delete. See eAuditType enum values: 1 = Create, 2 = Update, 3 = Delete.
string
Previous value of the property before the change.
string
New value of the property after the change.
string
User or system account that performed the action.
integer
Integer ID of the audited record.
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response