---
title: "Get entries for a DEA book with optional filters"
method: GET
path: "/DeaBooks/{id}/entries"
tags: ["DeaBooks"]
---

# Get entries for a DEA book with optional filters

`GET /DeaBooks/{id}/entries`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/DeaBooks/{id}/entries`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/DeaBooks/:id/entries/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Query parameters

- `status` string
- `containerId` string
- `fromDate` string, date-time
- `toDate` string, date-time
- `limit` union
  - integer
  - string, int32

## Response `200`

OK

- DEAEntryListResponseDto
  - `data` DEAEntryDto[]
    - `inventoryTransactionId` string, nullable
    - `id` string
    - `deaBookId` string
    - `containerId` string
    - `action` string
    - `quantity` union
      - number, double
      - string, double
    - `balance` union
      - number, double
      - string, double
    - `containerStatus` string
    - `patientId` string, nullable
    - `patient` DEAPatientSummaryDto
      - `id` string
      - `name` string
      - `species` string
      - `clientId` string, nullable
      - `clientName` string, nullable
    - `userId` string
    - `user` DEAUserSummaryDto
      - `id` string
      - `displayName` string
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `email` string
    - `witnessUserId` string, nullable
    - `witnessUser` DEAUserSummaryDto
      - `id` string
      - `displayName` string
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `email` string
    - `notes` string, nullable
    - `reason` string, nullable
    - `correctedEntryId` string, nullable
    - `collectorName` string, nullable: UK CDR: name of the person who collected the dispensed CD.
    - `collectorIdChecked` boolean, nullable: UK CDR: whether collector photo ID was verified.
    - `quantityWordsAndFigures` string, nullable: UK CDR: quantity rendered in words + figures (CD Sched 2/3).
    - `entryDate` string, date-time
    - `createdAt` string, date-time
  - `totalCount` union
    - integer
    - string, int32

## Other responses

- `400`: Bad Request

## Changes

- **2026-09-30** `d58b40cfca93`: 3 info
  - added the optional property `data/items/inventoryTransactionId` to the response with the `200` status (media type: text/plain)
  - added the optional property `data/items/inventoryTransactionId` to the response with the `200` status (media type: application/json)
  - added the optional property `data/items/inventoryTransactionId` to the response with the `200` status (media type: text/json)

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/DeaBooks/:id/entries/get.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
