GET api/v1/auditlogs/overview/{entityName}/{recordId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityName

string

Required

recordId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AuditLogOverview
NameDescriptionTypeAdditional 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": "2019-12-14T03:40:38.1556537+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": "2019-12-14T03:40:38.1556537+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":"2019-12-14T03:40:38.1556537+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":"2019-12-14T03:40:38.1556537+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>2019-12-14T03:40:38.1556537+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>2019-12-14T03:40:38.1556537+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>