The following documentation is also available in these formats:
API Reference v1.0
/case-details/{crn}
get
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
CaseDetails |
/case-details/{crn}/first-appointment-date
get
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
FirstAppointment |
Schemas
CaseDetails
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | object | true | Name | |
crn | string | true | ||
tier | string | false | ||
dateOfBirth | string | true | ||
nomisId | string | false | ||
region | string | false | ||
keyWorker | object | true | Manager | |
inCustody | boolean | true | ||
sentences | array | true | Sentence |
Manager
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | object | false | Name | |
unallocated | boolean | true |
Name
Name | Type | Required | Description | Schema |
---|---|---|---|---|
forename | string | true | ||
middleName | string | false | ||
surname | string | true |
Sentence
Name | Type | Required | Description | Schema |
---|---|---|---|---|
description | string | false | ||
startDate | string | false | ||
endDate | string | false | ||
programmeRequirement | boolean | true | ||
unpaidWorkHoursOrdered | integer | true | ||
unpaidWorkMinutesCompleted | integer | true | ||
rarDaysOrdered | integer | true | ||
rarDaysCompleted | integer | true |
FirstAppointment
Name | Type | Required | Description | Schema |
---|---|---|---|---|
appointmentDate | string | false |