Contents

AuditEventType

Enumeration of change operation types in change history, used in audit summary objects, change detail objects, and query filters.

Declaration

string AuditEventType

Possible Values

CREATE

The system creates a new entity. oldValues is empty on all associated field change objects.

UPDATE

The system modifies one or more fields on an existing entity. Both oldValues and newValues are populated.

DELETE

The system soft-deletes the entity. Because it implements deletion as a record update, newValues is populated. Expect fields such as the deleted flag, status, and transaction ID to appear with their updated values. oldValues reflects the pre-deletion state of each changed field.

Discussion

Use AuditEventType values in the eventType filter of an AuditQuery request to narrow results to specific change operations:

{
  "field": "eventType",
  "operator": "IN",
  "value": [
    "CREATE",
    "DELETE"
  ]
}

See Also