The following documentation is also available in these formats:
API Reference v1.0
/probation-cases/{crn}
get
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
CaseDetails |
/probation-cases/{crn}/release
get
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
ReleaseRecall |
/probation-cases/{crn}/registrations
get
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
Registrations |
Schemas
Address
Name | Type | Required | Description | Schema |
---|---|---|---|---|
noFixedAbode | boolean | true | ||
buildingName | string | false | ||
buildingNumber | string | false | ||
streetName | string | false | ||
district | string | false | ||
town | string | false | ||
county | string | false | ||
postcode | string | false |
CaseDetails
Name | Type | Required | Description | Schema |
---|---|---|---|---|
identifiers | object | true | Identifiers | |
person | object | true | Person | |
profile | object | false | Profile | |
contactDetails | object | false | ContactDetails |
CodeDescription
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
description | string | true |
ContactDetails
Name | Type | Required | Description | Schema |
---|---|---|---|---|
mainAddress | object | false | Address | |
emailAddress | string | false | ||
telephoneNumber | string | false | ||
mobileNumber | string | false |
Identifiers
Name | Type | Required | Description | Schema |
---|---|---|---|---|
crn | string | true | ||
noms | string | false | ||
pnc | string | false | ||
cro | string | false |
Name
Name | Type | Required | Description | Schema |
---|---|---|---|---|
surname | string | true | ||
forename | string | true | ||
middleNames | array | true |
Person
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | object | true | Name | |
dateOfBirth | string | true | ||
gender | object | false | CodeDescription |
Profile
Name | Type | Required | Description | Schema |
---|---|---|---|---|
language | object | false | CodeDescription | |
ethnicity | object | false | CodeDescription | |
religion | object | false | CodeDescription |
Institution
Name | Type | Required | Description | Schema |
---|---|---|---|---|
institutionId | integer | true | ||
isEstablishment | boolean | true | ||
code | string | true | ||
description | string | true | ||
institutionName | string | false | ||
establishmentType | object | false | CodeDescription | |
isPrivate | boolean | false | ||
nomsPrisonInstitutionCode | string | false |
Recall
Name | Type | Required | Description | Schema |
---|---|---|---|---|
date | string | true | ||
reason | object | true | CodeDescription | |
notes | string | false |
Release
Name | Type | Required | Description | Schema |
---|---|---|---|---|
date | string | true | ||
notes | string | false | ||
institution | object | false | Institution | |
reason | object | true | CodeDescription |
ReleaseRecall
Name | Type | Required | Description | Schema |
---|---|---|---|---|
lastRelease | object | false | Release | |
lastRecall | object | false | Recall |
Officer
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
forename | string | true | ||
surname | string | true | ||
isUnallocated | boolean | true |
Registration
Name | Type | Required | Description | Schema |
---|---|---|---|---|
registrationId | integer | true | ||
offenderId | integer | true | ||
register | object | false | CodeDescription | |
type | object | true | CodeDescription | |
riskColour | string | false | ||
startDate | string | true | ||
nextReviewDate | string | false | ||
reviewPeriodMonths | integer | false | ||
notes | string | false | ||
registeringTeam | object | true | CodeDescription | |
registeringOfficer | object | true | Officer | |
registeringProbationArea | object | true | CodeDescription | |
registerLevel | object | false | CodeDescription | |
registerCategory | object | false | CodeDescription | |
warnUser | boolean | true | ||
active | boolean | true | ||
registrationReviews | array | true | Review |
Registrations
Name | Type | Required | Description | Schema |
---|---|---|---|---|
registrations | array | true | Registration |
Review
Name | Type | Required | Description | Schema |
---|---|---|---|---|
reviewDate | string | true | ||
reviewDateDue | string | false | ||
notes | string | false | ||
reviewingTeam | object | true | CodeDescription | |
reviewingOfficer | object | true | Officer | |
completed | boolean | true |