Contents

ActivityDetail.Changes

A single field change entry, capturing the field name and its before and after values.

Declaration

object ActivityDetail.Changes

Properties

NameTypeDescription
fieldstring

The API field name that changed. Read-only.

oldValues[string]

Values before the change, as strings. Empty for CREATE events. Read-only.

newValues[string]

Values after the change, as strings. Empty for DELETE events. Read-only.

Discussion

Each entry in the changes array describes a single field that changed during the activity.

Example

{
  "field": "status",
  "oldValues": ["PAUSED"],
  "newValues": ["ENABLED"]
}

The changes field is the array field on the parent ActivityDetail object: ChangeDetails holds a details array of ActivityDetail objects, and each ActivityDetail groups the field-level changes that share a common activity context in this changes array.