The following documentation is also available in these formats:
API Reference v1.0
/users/{username}/access/{crn}
get
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
username | path | string | true | |
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
CaseAccess |
/docs/asyncapi
get
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
/case-data/{crn}/{eventId}
get
Detailed information on the probation case
Full details of the probation case for the purposes of creating a new unpaid work assessment. The service will return case information for the CRN and Event Number supplied in the request. Only active personal contacts and personal circumstances are included
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true | |
eventId | path | integer | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
CaseDetails |
/case-data/{crn}/personal-details
get
Details of all active personal contacts and personal circumstances for a person on probation
Details of all active personal contacts and personal circumstances related to the probation case identified by the CRN provided in the request. The service will return personal contacts and personal circumstances that are active on the date of the request. Used to access any additional information held in Delius when cloning an existing assessment
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonalDetails |
Schemas
CaseAccess
Name | Type | Required | Description | Schema |
---|---|---|---|---|
crn | string | true | ||
userExcluded | boolean | true | ||
userRestricted | boolean | true | ||
exclusionMessage | string | false | ||
restrictionMessage | string | false |
Address
Name | Type | Required | Description | Schema |
---|---|---|---|---|
buildingName | string | false | ||
addressNumber | string | false | ||
streetName | string | false | ||
district | string | false | ||
town | string | false | ||
county | string | false | ||
postcode | string | false |
Alias
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | object | true | Name | |
dateOfBirth | string | true |
CaseDetails
Name | Type | Required | Description | Schema |
---|---|---|---|---|
crn | string | true | ||
name | object | true | Name | |
dateOfBirth | string | true | ||
gender | string | false | ||
genderIdentity | string | false | ||
croNumber | string | false | ||
pncNumber | string | false | ||
aliases | array | false | Alias | |
emailAddress | string | false | ||
phoneNumbers | array | false | PhoneNumber | |
mainAddress | object | false | Address | |
ethnicity | string | false | ||
disabilities | array | false | Disability | |
provisions | array | false | Provision | |
language | object | false | Language | |
personalCircumstances | array | false | PersonalCircumstance | |
personalContacts | array | false | PersonalContact | |
mappaRegistration | object | false | MappaRegistration | |
registerFlags | array | false | RegisterFlag | |
sentence | object | false | Sentence |
Disability
Name | Type | Required | Description | Schema |
---|---|---|---|---|
type | object | true | Type | |
condition | object | false | Type | |
notes | string | false |
Language
Name | Type | Required | Description | Schema |
---|---|---|---|---|
requiresInterpreter | boolean | true | ||
primaryLanguage | string | true |
MainOffence
Name | Type | Required | Description | Schema |
---|---|---|---|---|
category | object | true | Type | |
subCategory | object | true | Type |
MappaRegistration
Name | Type | Required | Description | Schema |
---|---|---|---|---|
startDate | string | true | ||
level | object | true | Type | |
category | object | true | Type |
Name
Name | Type | Required | Description | Schema |
---|---|---|---|---|
forename | string | true | ||
middleName | string | false | ||
surname | string | true |
PersonalCircumstance
Name | Type | Required | Description | Schema |
---|---|---|---|---|
type | object | true | Type | |
subType | object | false | Type | |
notes | string | false | ||
evidenced | boolean | true |
PersonalContact
Name | Type | Required | Description | Schema |
---|---|---|---|---|
relationship | string | true | ||
relationshipType | object | true | Type | |
name | object | true | Name | |
telephoneNumber | string | false | ||
mobileNumber | string | false | ||
address | object | false | Address |
PhoneNumber
Name | Type | Required | Description | Schema |
---|---|---|---|---|
type | string | true | ||
number | string | true |
Provision
Name | Type | Required | Description | Schema |
---|---|---|---|---|
type | object | true | Type | |
category | object | false | Type | |
notes | string | false |
RegisterFlag
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
description | string | true | ||
riskColour | string | false |
Sentence
Name | Type | Required | Description | Schema |
---|---|---|---|---|
startDate | string | true | ||
mainOffence | object | true | MainOffence |
Type
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
description | string | true |
PersonalDetails
Name | Type | Required | Description | Schema |
---|---|---|---|---|
crn | string | true | ||
personalCircumstances | array | true | PersonalCircumstance | |
personalContacts | array | true | PersonalContact |