Skip to main content
API Reference

The following documentation is also available in these formats:

API Reference v1.0

/case-details/{crn}/{eventNumber}

get

Probation case information for the Effective Proposals Framework service

Accepts the probation identifier (CRN) and Delius Event number and returns a data structure giving background information on the probation case for use in the Effective Proposals Framework system. The information is used to reduce the need for the EPF user to re-key information already held in Delius.

        <p>Requires `PROBATION_API__EPF__CASE_DETAIL`.</p>

Parameters

ParameterInTypeRequiredDescription
crn path string true
eventNumber path integer true

Responses

StatusDescriptionSchema
200

OK

{
  "nomsId": "string",
  "name": {
    "forename": "string",
    "middleName": "string",
    "surname": "string"
  },
  "dateOfBirth": "string",
  "gender": "string",
  "courtAppearance": {
    "date": "string",
    "court": {
      "name": "string"
    }
  },
  "sentence": {
    "expectedReleaseDate": "string"
  },
  "responsibleProvider": {
    "code": "string",
    "name": "string"
  },
  "ogrsScore": "integer",
  "rsrScore": "number",
  "age": "integer",
  "ageAtRelease": "integer"
}
CaseDetails
404

A case with the provided CRN does not exist in Delius. Note: this could be the result of a merge or a deletion.

{
  "nomsId": "string",
  "name": {
    "forename": "string",
    "middleName": "string",
    "surname": "string"
  },
  "dateOfBirth": "string",
  "gender": "string",
  "courtAppearance": {
    "date": "string",
    "court": {
      "name": "string"
    }
  },
  "sentence": {
    "expectedReleaseDate": "string"
  },
  "responsibleProvider": {
    "code": "string",
    "name": "string"
  },
  "ogrsScore": "integer",
  "rsrScore": "number",
  "age": "integer",
  "ageAtRelease": "integer"
}
CaseDetails

Schemas

Appearance

NameTypeRequiredDescriptionSchema
date string true
court object true Court

CaseDetails

NameTypeRequiredDescriptionSchema
nomsId string false
name object true Name
dateOfBirth string true
gender string true
courtAppearance object false Appearance
sentence object false Sentence
responsibleProvider object false Provider
ogrsScore integer false
rsrScore number false
age integer true
ageAtRelease integer false

Court

NameTypeRequiredDescriptionSchema
name string true

Name

NameTypeRequiredDescriptionSchema
forename string true
middleName string false
surname string true

Provider

NameTypeRequiredDescriptionSchema
code string true
name string true

Sentence

NameTypeRequiredDescriptionSchema
expectedReleaseDate string false