Single Offender
Update the Complexity of Need level for an offender
Clients calling this endpoint must have role: ROLE_UPDATE_COMPLEXITY_OF_NEED
post/v1/complexity-of-need/offender-no/{offender_no}
Request body
Example request
{
"level": "low",
"sourceUser": "JSMITH_GEN"
}Response
Complexity of Need level set successfully
Example response
{
"offenderNo": "A0000AA",
"level": "low",
"sourceUser": "JSMITH_GEN",
"sourceSystem": "hmpps-api-client-id",
"createdTimeStamp": "2021-03-02T17:18:46.457Z",
"updatedTimeStamp": "2021-03-02T17:18:46.457Z"
}