GET api/v1/auditlogs/{entityName}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AuditLogOverviewName | Description | Type | Additional information |
---|---|---|---|
AuditLogId | integer |
None. |
|
EventDateTime | date |
None. |
|
UserName | string |
None. |
|
EventTypeName | string |
None. |
|
EntityName | string |
None. |
|
RecordId | string |
None. |
|
PropertyChanges | Collection of PropertyChangeLogDetails |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AuditLogId": 1, "EventDateTime": "2024-11-21T09:44:42.6627516+01:00", "UserName": "sample string 3", "EventTypeName": "sample string 4", "EntityName": "sample string 5", "RecordId": "sample string 6", "PropertyChanges": [ { "PropertyName": "sample string 1", "OriginalValue": "sample string 2", "NewValue": "sample string 3" }, { "PropertyName": "sample string 1", "OriginalValue": "sample string 2", "NewValue": "sample string 3" } ] }, { "AuditLogId": 1, "EventDateTime": "2024-11-21T09:44:42.6627516+01:00", "UserName": "sample string 3", "EventTypeName": "sample string 4", "EntityName": "sample string 5", "RecordId": "sample string 6", "PropertyChanges": [ { "PropertyName": "sample string 1", "OriginalValue": "sample string 2", "NewValue": "sample string 3" }, { "PropertyName": "sample string 1", "OriginalValue": "sample string 2", "NewValue": "sample string 3" } ] } ]
text/html
Sample:
[{"AuditLogId":1,"EventDateTime":"2024-11-21T09:44:42.6627516+01:00","UserName":"sample string 3","EventTypeName":"sample string 4","EntityName":"sample string 5","RecordId":"sample string 6","PropertyChanges":[{"PropertyName":"sample string 1","OriginalValue":"sample string 2","NewValue":"sample string 3"},{"PropertyName":"sample string 1","OriginalValue":"sample string 2","NewValue":"sample string 3"}]},{"AuditLogId":1,"EventDateTime":"2024-11-21T09:44:42.6627516+01:00","UserName":"sample string 3","EventTypeName":"sample string 4","EntityName":"sample string 5","RecordId":"sample string 6","PropertyChanges":[{"PropertyName":"sample string 1","OriginalValue":"sample string 2","NewValue":"sample string 3"},{"PropertyName":"sample string 1","OriginalValue":"sample string 2","NewValue":"sample string 3"}]}]
application/xml, text/xml
Sample:
<ArrayOfAuditLogOverview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Audit"> <AuditLogOverview> <AuditLogId>1</AuditLogId> <EntityName>sample string 5</EntityName> <EventDateTime>2024-11-21T09:44:42.6627516+01:00</EventDateTime> <EventTypeName>sample string 4</EventTypeName> <PropertyChanges> <PropertyChangeLogDetails> <NewValue>sample string 3</NewValue> <OriginalValue>sample string 2</OriginalValue> <PropertyName>sample string 1</PropertyName> </PropertyChangeLogDetails> <PropertyChangeLogDetails> <NewValue>sample string 3</NewValue> <OriginalValue>sample string 2</OriginalValue> <PropertyName>sample string 1</PropertyName> </PropertyChangeLogDetails> </PropertyChanges> <RecordId>sample string 6</RecordId> <UserName>sample string 3</UserName> </AuditLogOverview> <AuditLogOverview> <AuditLogId>1</AuditLogId> <EntityName>sample string 5</EntityName> <EventDateTime>2024-11-21T09:44:42.6627516+01:00</EventDateTime> <EventTypeName>sample string 4</EventTypeName> <PropertyChanges> <PropertyChangeLogDetails> <NewValue>sample string 3</NewValue> <OriginalValue>sample string 2</OriginalValue> <PropertyName>sample string 1</PropertyName> </PropertyChangeLogDetails> <PropertyChangeLogDetails> <NewValue>sample string 3</NewValue> <OriginalValue>sample string 2</OriginalValue> <PropertyName>sample string 1</PropertyName> </PropertyChangeLogDetails> </PropertyChanges> <RecordId>sample string 6</RecordId> <UserName>sample string 3</UserName> </AuditLogOverview> </ArrayOfAuditLogOverview>