---
title: "Retrieve the current Complexity of Need levels for multiple offenders"
method: POST
path: "/v1/complexity-of-need/multiple/offender-no"
tags: ["Multiple Offenders"]
---

# Retrieve the current Complexity of Need levels for multiple offenders

`POST /v1/complexity-of-need/multiple/offender-no`

This endpoint returns a JSON array containing the current Complexity of Need entry for multiple offenders.

The response array:
  - will exclude offenders whose Complexity of Need level is not known (i.e. these would result in a `404 Not Found` error on the single `GET` endpoint)
  - will exclude offenders without a current active level
  - is not sorted in the same order as the request body
  - is not paginated

## Request body

- OffenderNo[] — A JSON array of NOMIS Offender Numbers

## Response `200`

OK

- ComplexityOfNeed[]
  - `offenderNo` string, required — NOMIS Offender Number
  - `level` 'low' | 'medium' | 'high', required — Complexity of Need Level
  - `sourceUser` string — The NOMIS username that supplied this Complexity of Need entry
  - `sourceSystem` string, required — The OAuth Client ID of the system that created this entry
  - `notes` string — Free-text notes for this entry
  - `createdTimeStamp` string, date_time, required — The date & time this entry was created (in RFC 3339 format)
  - `updatedTimeStamp` string, date_time, required — The date & time this entry was updated (in RFC 3339 format)
  - `active` boolean, required — Whether it is active or not

## Other responses

- `400` — The request body was invalid. Make sure you've provided a JSON array of NOMIS Offender Numbers.
- `401` — Invalid or missing access token
- `403` — Access token is missing necessary role

---

[API](https://skmtc.net/ministryofjustice/apis/complexity-of-need-api.md) · [All operations](https://skmtc.net/ministryofjustice/apis/complexity-of-need-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ministryofjustice/complexity-of-need-api/revisions/5e5e329d7462/schema)
