---
title: "Check all sample units present for the sample summary"
method: GET
path: "/samples/samplesummary/{sampleSummaryId}/check-and-transition-sample-summary-status"
tags: ["samples"]
---

# Check all sample units present for the sample summary

`GET /samples/samplesummary/{sampleSummaryId}/check-and-transition-sample-summary-status`

## Request

- Base URL: `http://localhost:8125`
- URL: `http://localhost:8125/samples/samplesummary/{sampleSummaryId}/check-and-transition-sample-summary-status`
- Auth: HTTP basic

Checks all present and move to ACTIVE state if true

## Path parameters

- `sampleSummaryId` string, uuid, required

## Response `200`

The call was successful.  Will return this regardless of whether or not it's ready

- SampleSummaryLoadingStatus
  - `areAllSampleUnitsLoaded` boolean
  - `expectedTotal` integer
  - `currentTotal` integer

## Other responses

- `401`: Authentication information is missing or invalid.
- `404`: Resource has not been found
- `500`: #/components/responses/ServerError

## Changes

- **2022-09-16** `6236ad7256ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-sample-service/changes/samples/samplesummary/:sampleSummaryId/check-and-transition-sample-summary-status/get.md)

---

[API](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-sample-service.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-sample-service/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/ras-rm-sample-service/revisions/6236ad7256ad?raw)
