Entity Change History Resource

Search Entity Change History

HTTP Request

POST /api/entityChangeHistory/search

📋 Description: Submits a request to search the entity change history, allowing users to access detailed records of modifications made to entities within the system.

Parameters

Name

In

Type

Required

Description

pageable

query

Pageable

true

Indicates whether the results of the entity change history search should be returned in a paginated format to enhance data retrieval efficiency.

body

body

EntityChangeHistoryFilter

true

Request body containing the criteria for searching entity change history, including filters and pagination details to facilitate efficient data retrieval.

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageEntityChangeHistoryDTO

Get Entity Change History

HTTP Request

GET /api/entityChangeHistory/{entityName}/{entityId}

📋 Description: Retrieves the change history of a specified entity, identified by its name and ID, providing insights into modifications and updates for effective tracking and auditing.

Parameters

Name

In

Type

Required

Description

entityName

path

string

true

Name of the entity

entityId

path

integer(int64)

true

Unique identifier for the entity

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[EntityChangeHistoryDTO]

false

none

[Data transfer object representing the historical changes made to an entity, capturing essential details such as timestamps and user actions for audit and compliance purposes.]

» id

integer(int64)

false

none

Unique identifier for the resource

» createdBy

string

false

none

Username of who created this resource

» createdAt

string(date-time)

false

none

Timestamp when this resource was created

» entityName

string

true

none

Name of the entity

» entityId

integer(int64)

true

none

Unique identifier for the entity

» linkedEntityName

string

true

none

Name of the linked entity

» linkedEntityId

integer(int64)

true

none

Unique identifier for the linked entity

» changeType

string

true

none

Type of the change

» fieldName

string

true

none

Name of the field

» oldValue

string

false

none

Represents the previous value of the entity before the change was made, providing a historical reference for auditing and analysis purposes.

» newValue

string

false

none

Represents the updated value associated with a specific change in the entity’s history, providing insight into modifications made for effective tracking and auditing.

» linkedEntityDisplayId

string

false

none

Unique identifier for the linked entity display

» linkedEntityDisplayName

string

false

none

Name of the linked entity display