AuditTrailEntries
Get one AuditTrailEntry
Retrieve a single AuditTrailEntry record by its Id.
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
The Id of the AuditTrailEntry record to retrieve.
Code Examples
Response
200
ID of the business linked to this record.
Short name of the audited entity type (e.g. Coworker, Booking, Charge).
Human-readable description of the audit trail entry.
Name of the property that was changed.
Type of audit action: 1 = Create, 2 = Update, 3 = Delete. See
eAuditType enum values: 1 = Create, 2 = Update, 3 = Delete.Previous value of the property before the change.
New value of the property after the change.
User or system account that performed the action.
Integer ID of the audited record.
Unique record identifier.
UUID of the record.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
Example Response
Get one AuditTrailEntry