The following documentation is also available in these formats:
API Reference v1.0
/reference-data
get
Gets delius reference data
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
ProbationReferenceData |
/identifier-converter/noms-to-crn/{nomsId}
get
Gets the corresponding CRN from delius for the provided nomsId if found
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
nomsId | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonIdentifier |
/exists-in-delius/crn/{crn}
get
Check if crn exists in delius for the provided crn
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonExists |
/case/{crn}/supervisions
get
Get a list of supervisions (called “events” in Delius) for a probation case, by CRN
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
SupervisionResponse |
Schemas
ProbationReferenceData
Name | Type | Required | Description | Schema |
---|---|---|---|---|
probationReferenceData | object | true |
RefData
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | reference data code |
|
description | string | true | reference data description |
PersonIdentifier
Name | Type | Required | Description | Schema |
---|---|---|---|---|
crn | string | true | ||
nomsId | string | true |
PersonExists
Name | Type | Required | Description | Schema |
---|---|---|---|---|
crn | string | true | ||
existsInDelius | boolean | true |
CourtAppearance
Name | Type | Required | Description | Schema |
---|---|---|---|---|
type | string | true | ||
date | string | true | ||
court | string | true | ||
plea | string | false |
DynamicRiskRegistration
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
description | string | true | ||
startDate | string | true | ||
reviewDate | string | false | ||
notes | string | false |
Manager
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
name | object | true | Name | |
username | string | false | ||
string | false | |||
telephoneNumber | string | false | ||
team | object | true | Team | |
allocated | boolean | true |
MappaDetail
Name | Type | Required | Description | Schema |
---|---|---|---|---|
level | integer | false | ||
levelDescription | string | false | ||
category | integer | false | ||
categoryDescription | string | false | ||
startDate | string | true | ||
reviewDate | string | false | ||
notes | string | false |
Name
Name | Type | Required | Description | Schema |
---|---|---|---|---|
forename | string | true | ||
surname | string | true |
Offence
Name | Type | Required | Description | Schema |
---|---|---|---|---|
date | string | false | ||
count | integer | false | ||
code | string | true | ||
description | string | true | ||
mainCategory | object | false | OffenceCategory | |
subCategory | object | false | OffenceCategory | |
schedule15SexualOffence | boolean | false | ||
schedule15ViolentOffence | boolean | false |
OffenceCategory
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
description | string | true |
PersonStatusRegistration
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
description | string | true | ||
startDate | string | true | ||
reviewDate | string | false | ||
notes | string | false |
Provider
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
description | string | true |
Sentence
Name | Type | Required | Description | Schema |
---|---|---|---|---|
description | string | true | ||
date | string | true | ||
length | integer | false | ||
lengthUnits | string | false | ||
custodial | boolean | true |
Supervision
Name | Type | Required | Description | Schema |
---|---|---|---|---|
number | integer | true | ||
active | boolean | true | ||
date | string | false | ||
sentence | object | false | Sentence | |
mainOffence | object | false | Offence | |
additionalOffences | array | false | Offence | |
courtAppearances | array | false | CourtAppearance |
SupervisionResponse
Name | Type | Required | Description | Schema |
---|---|---|---|---|
communityManager | object | true | Manager | |
mappaDetail | object | false | MappaDetail | |
supervisions | array | true | Supervision | |
dynamicRisks | array | true | DynamicRiskRegistration | |
personStatus | array | true | PersonStatusRegistration |
Team
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
description | string | true | ||
string | false | |||
telephoneNumber | string | false | ||
provider | object | true | Provider |