v1
latestOpenAPI 3.0.12026-07-24501176.6 MBGet audit logs of entities
This page provides you with information on entity audit log API.
Query parameters
The type of entity for which you want to fetch audit logs.
The unique identifier corresponding to the entity.
The number of results you wish to retrieve. Default value: 10.
The page number, indicating which page of results to retrieve
The field by which results should be sorted. Default value: autoUpdateTime.
The order in which results should be sorted. Supported values: ASC, DESC.
The start date of the date range. Example: 2022-08-18 16:00:00.
The end date of the date range. Example: 2022-08-18 16:00:00.
The reference type. For Extended fields and Custom fields, audit logging is allowed for a maximum of 5 fields each.
The value for the selected reference type.
Enter true to retrieve user context details.
Entity source.
Response
200
Example response
{
"data": [
{
"updatedBy": 75083604,
"orgId": 100458,
"entityType": "CUSTOMER",
"entityId": 98662653,
"createdOn": 1700733054030,
"requestId": "25b7780ed479ce80cd95326bcd2a3d91",
"source": "INSTORE",
"updatedByMode": "API",
"autoUpdateTime": 1700733053872,
"events": [
{
"eventType": "Identifiers",
"updatedField": "cardnumber",
"additionalFields": {
"previousValue": "NA",
"currentValue": "DIWALI000000001620232"
}
}
]
}
],
"pagination": {
"totalElements": 7,
"totalPages": 1,
"numberOfElements": 7
}
}