Skip to main content

AuditLog

One entry in the audit log.

type AuditLog {
action: String!
changes: JSON!
createdAt: DateTime!
deletedBy: String
enteredBy: String!
entityId: String!
entityType: String!
id: ID!
ipAddress: String
organizationId: String
updatedBy: String!
user: AuditLogUser
userAgent: String
userId: String!
}

Fields​

AuditLog.action ● String! non-null scalar​

What was done.

AuditLog.changes ● JSON! non-null scalar​

What changed, as JSON.

AuditLog.createdAt ● DateTime! non-null scalar​

When the record was created.

AuditLog.deletedBy ● String scalar​

The ID of the user who deleted the record.

AuditLog.enteredBy ● String! non-null scalar​

The ID of the user who created the record.

AuditLog.entityId ● String! non-null scalar​

The ID of the record.

AuditLog.entityType ● String! non-null scalar​

The kind of record it was done to.

AuditLog.id ● ID! non-null scalar​

The unique ID of this record.

AuditLog.ipAddress ● String scalar​

The IP address it came from.

AuditLog.organizationId ● String scalar​

The ID of the organization the record belongs to.

AuditLog.updatedBy ● String! non-null scalar​

The ID of the user who last changed the record.

AuditLog.user ● AuditLogUser object​

The user who did it.

AuditLog.userAgent ● String scalar​

The browser or app it came from.

AuditLog.userId ● String! non-null scalar​

The ID of the user.

Returned By​

creditNoteAuditLogs query ● debitNoteAuditLogs query ● grnAuditLogs query ● invoiceAuditLogs query ● paymentAuditLogs query ● purchaseOrderAuditLogs query ● quoteAuditLogs query ● returnAuditLogs query ● salesOrderAuditLogs query