---
title: "Returns a paged result of all audit logging entries for a given entity type. An entity log reflects an audit intent, eg an import or user creates, that is it. In order to see what that intent made in regard to changes the endpoint \"changes\" must be alled with the localCorrelationId returned from this endpoint. The revelant entityTypes can be downloaded from the endpoint filtersections. IMPORTANT: When asking for changes for companyUser, the entityId must be the userEmploymentId not the companyUserId."
method: POST
path: "/api/audit/entitylogs"
tags: ["Audit"]
---

# Returns a paged result of all audit logging entries for a given entity type. An entity log reflects an audit intent, eg an import or user creates, that is it. In order to see what that intent made in regard to changes the endpoint "changes" must be alled with the localCorrelationId returned from this endpoint. The revelant entityTypes can be downloaded from the endpoint filtersections. IMPORTANT: When asking for changes for companyUser, the entityId must be the userEmploymentId not the companyUserId.

`POST /api/audit/entitylogs`

## Request body

- IntectWebAPIPagedPagedRequestIntectWebAPIControllersAuditLogForEntityAuditRequestDTO
  - `PageNumber` integer
  - `PageSize` integer
  - `Data` IntectWebAPIControllersAuditLogForEntityAuditRequestDTO
    - `EntityName` string
    - `EntityId` integer
    - `FromUtc` string, date-time, nullable
    - `ToUtc` string, date-time, nullable
    - `ChangedByUserId` integer

## Response `200`

OK

- object

---

[API](https://skmtc.dev/intect/apis/intect-rest-api.md) · [All operations](https://skmtc.dev/intect/apis/intect-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/intect/intect-rest-api/revisions/e256dcb495d4/schema)
