---
title: "Get current container states for a DEA book"
method: GET
path: "/DeaBooks/{id}/containers"
tags: ["DeaBooks"]
---

# Get current container states for a DEA book

`GET /DeaBooks/{id}/containers`

## Path parameters

- `id` string, required

## Query parameters

- `status` string

## Response `200`

OK

- ContainerStateDto[]
  - `containerId` string
  - `containerStatus` string
  - `currentBalance` union
    - number, double
    - string, double
  - `lastUpdated` string, date-time
  - `lastEntry` DEAEntryDto
    - `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

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/a905bde4e796/schema)
