Changes

Changes are a part of four eyes check feature which is used for when an entity needs to be created, updated or deleted but the operation needs to be approved by another individual.

AttributeDescriptionFormat
idUnique identifier for the change.UUID e.g., 5def2f43-2c81-4230-85b2-c8a62f7460c9
userIdIdentifier of the user who made the change.UUID e.g., 5def2f43-2c81-4230-85b2-c8a62f7460c9
tableNameName of the table where the change occurred.String e.g., ledger.account
entityIdIdentifier of the entity that was changed.UUID e.g., 5def2f43-2c81-4230-85b2-c8a62f7460c9
typeType of the change.CREATE, UPDATE, DELETE
createdDateDate and time when the change was created.ISO 8601 Timestamp e.g., 2024-01-01T00:00:00.000000Z
reviewedDateDate and time when the change was reviewed.ISO 8601 Timestamp e.g., 2024-01-01T00:00:00.000000Z
fieldChangesList of field changes made in the entity.Array of field changes objects, containing attributes fieldName, newValue, oldValue, status,
reviewerIdUser ID of the reviewer who reviewed the change.UUID e.g., 5def2f43-2c81-4230-85b2-c8a62f7460c9
commentComment provided during the review.String
statusCurrent status of the change.PENDING, APPROVED, PARTIALLY_APPROVED, REJECTED
stateCurrent state of the change.INITIATED, PROCESSING, FAILED, APPLIED
stateResultResult or outcome of the change state.String