The following documentation is also available in these formats:
API Reference v1.0
/caseload/user/{username}/search
post
Gets caseloads for the user based on search filter
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
username | path | string | true | |
page | query | integer | false | |
size | query | integer | false | |
sortBy | query | string | false |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
StaffCaseload |
/appointments/{crn}
post
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
201 |
Created
|
AppointmentDetail |
/user/{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 |
/sentence/{crn}
get
Display active events
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true | |
number | query | string | false |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
SentenceOverview |
/sentence/{crn}/probation-history
get
Display probation history
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
History |
/sentence/{crn}/previous-orders
get
Display inactive events
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PreviousOrderHistory |
/sentence/{crn}/offences/{eventNumber}
get
Display additional offence details
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true | |
eventNumber | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
Offences |
/sentence/{crn}/licence-condition/{licenceConditionId}/note/{noteId}
get
Get licence condition note
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true | |
licenceConditionId | path | integer | true | |
noteId | path | integer | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
LicenceConditionNoteDetail |
/sentence/{crn}/contacts
get
Display contacts
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
ProfessionalContact |
/schedule/{crn}/upcoming
get
Gets upcoming schedule information’
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
Schedule |
/schedule/{crn}/previous
get
Gets previous schedule information’
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
Schedule |
/schedule/{crn}/appointment/{contactId}
get
Gets individual appointment information’
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true | |
contactId | path | integer | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonAppointment |
/risk-flags/{crn}
get
Gets all risk flags for an offender’
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonRiskFlags |
/risk-flags/{crn}/{riskFlagId}
get
Gets an individual risk flag for an offender’
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true | |
riskFlagId | path | integer | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonRiskFlag |
/personal-details/{crn}
get
Personal Details containing address, personal contacts and documents
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonalDetails |
/personal-details/{crn}/summary
get
Person Summary
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonSummary |
/personal-details/{crn}/provisions
get
Person Provisions
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
ProvisionOverview |
/personal-details/{crn}/personal-contact/{id}
get
Person Contact
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true | |
id | path | integer | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonalContact |
/personal-details/{crn}/document/{documentId}
get
Download document
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true | |
documentId | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
StreamingResponseBody |
/personal-details/{crn}/disabilities
get
Person Disabilities
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
DisabilityOverview |
/personal-details/{crn}/circumstances
get
Person Circumstances
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
CircumstanceOverview |
/personal-details/{crn}/addresses
get
Person Addresses
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
AddressOverview |
/overview/{crn}
get
MAS Overview containing Personal Details, Activity, Compliance, Schedule, Orders and Sentences
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
Overview |
/compliance/{crn}
get
Gets all compliance info for a person
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonCompliance |
/caseload/user/{username}
get
Gets caseloads for the user
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
username | path | string | true | |
page | query | integer | false | |
size | query | integer | false |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
StaffCaseload |
/caseload/user/{username}/teams
get
Gets the users teams
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
username | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
UserTeam |
/caseload/team/{teamCode}
get
Gets the caseload for the team
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
teamCode | path | string | true | |
page | query | integer | false | |
size | query | integer | false |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
TeamCaseload |
/caseload/team/{teamCode}/staff
get
Gets the staff within the team
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
teamCode | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
TeamStaff |
/activity/{crn}
get
Gets all activity for a person’
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
crn | path | string | true |
Responses
Status | Description | Schema |
---|---|---|
200 |
OK
|
PersonActivity |
Schemas
UserSearchFilter
Name | Type | Required | Description | Schema |
---|---|---|---|---|
nameOrCrn | string | false | ||
sentenceCode | string | false | ||
nextContactCode | string | false |
Appointment
Name | Type | Required | Description | Schema |
---|---|---|---|---|
id | integer | true | ||
date | string | true | ||
description | string | true |
KeyPair
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
description | string | true |
MetaData
Name | Type | Required | Description | Schema |
---|---|---|---|---|
sentenceTypes | array | true | KeyPair | |
contactTypes | array | true | KeyPair |
Name
Name | Type | Required | Description | Schema |
---|---|---|---|---|
forename | string | true | ||
middleName | string | false | ||
surname | string | true |
StaffCase
Name | Type | Required | Description | Schema |
---|---|---|---|---|
caseName | object | true | Name | |
crn | string | true | ||
dob | string | true | ||
nextAppointment | object | false | Appointment | |
previousAppointment | object | false | Appointment | |
latestSentence | string | false | ||
numberOfAdditionalSentences | integer | true |
StaffCaseload
Name | Type | Required | Description | Schema |
---|---|---|---|---|
totalPages | integer | true | ||
totalElements | integer | true | ||
sortedBy | string | false | ||
provider | string | false | ||
staff | object | true | Name | |
caseload | array | true | StaffCase | |
metaData | object | false | MetaData |
CreateAppointment
Name | Type | Required | Description | Schema |
---|---|---|---|---|
user | object | true | User | |
type | string | true | ||
start | string | true | ||
end | string | false | ||
interval | string | true | ||
numberOfAppointments | integer | true | ||
eventId | integer | true | ||
uuid | string | true | ||
requirementId | integer | false | ||
licenceConditionId | integer | false | ||
until | string | false |
User
Name | Type | Required | Description | Schema |
---|---|---|---|---|
username | string | true | ||
team | string | true |
AppointmentDetail
Name | Type | Required | Description | Schema |
---|---|---|---|---|
appointments | array | true | CreatedAppointment |
CreatedAppointment
Name | Type | Required | Description | Schema |
---|---|---|---|---|
id | integer | true |
CaseAccess
Name | Type | Required | Description | Schema |
---|---|---|---|---|
crn | string | true | ||
userExcluded | boolean | true | ||
userRestricted | boolean | true | ||
exclusionMessage | string | false | ||
restrictionMessage | string | false |
AdditionalSentence
Name | Type | Required | Description | Schema |
---|---|---|---|---|
length | integer | false | ||
amount | integer | false | ||
notes | string | false | ||
description | string | true |
Conviction
Name | Type | Required | Description | Schema |
---|---|---|---|---|
sentencingCourt | string | false | ||
responsibleCourt | string | false | ||
convictionDate | string | false | ||
additionalSentences | array | true | AdditionalSentence |
CourtDocument
Name | Type | Required | Description | Schema |
---|---|---|---|---|
id | string | true | ||
lastSaved | string | false | ||
documentName | string | false |
LicenceCondition
Name | Type | Required | Description | Schema |
---|---|---|---|---|
id | integer | true | ||
mainDescription | string | true | ||
subTypeDescription | string | false | ||
imposedReleasedDate | string | true | ||
actualStartDate | string | false | ||
licenceConditionNotes | array | false | LicenceConditionNote | |
licenceConditionNote | object | false | LicenceConditionNote |
LicenceConditionNote
Name | Type | Required | Description | Schema |
---|---|---|---|---|
id | integer | true | ||
createdBy | string | false | ||
createdByDate | string | false | ||
note | string | true | ||
hasNoteBeenTruncated | boolean | false |
Offence
Name | Type | Required | Description | Schema |
---|---|---|---|---|
description | string | true | ||
count | integer | true |
OffenceDetails
Name | Type | Required | Description | Schema |
---|---|---|---|---|
eventNumber | string | true | ||
offence | object | false | Offence | |
dateOfOffence | string | false | ||
notes | string | false | ||
additionalOffences | array | true | Offence |
Order
Name | Type | Required | Description | Schema |
---|---|---|---|---|
description | string | true | ||
length | integer | false | ||
endDate | string | false | ||
releaseDate | string | false | ||
startDate | string | true | ||
status | string | false | ||
mainOffence | string | false | ||
breaches | integer | false |
PersonSummary
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | object | true | Name | |
crn | string | true | ||
offenderId | integer | true | ||
pnc | string | false | ||
dateOfBirth | string | true |
Rar
Name | Type | Required | Description | Schema |
---|---|---|---|---|
completed | integer | true | ||
scheduled | integer | true | ||
totalDays | integer | true |
Requirement
Name | Type | Required | Description | Schema |
---|---|---|---|---|
code | string | true | ||
expectedStartDate | string | false | ||
actualStartDate | string | true | ||
expectedEndDate | string | false | ||
actualEndDate | string | false | ||
terminationReason | string | false | ||
description | string | true | ||
length | integer | false | ||
lengthUnitValue | string | false | ||
notes | string | false | ||
rar | object | false | Rar |
Sentence
Name | Type | Required | Description | Schema |
---|---|---|---|---|
offenceDetails | object | true | OffenceDetails | |
conviction | object | false | Conviction | |
order | object | false | Order | |
requirements | array | true | Requirement | |
courtDocuments | array | true | CourtDocument | |
unpaidWorkProgress | string | false | ||
licenceConditions | array | true | LicenceCondition |
SentenceOverview
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
sentenceSummaryList | array | true | SentenceSummary | |
sentence | object | false | Sentence |
SentenceSummary
Name | Type | Required | Description | Schema |
---|---|---|---|---|
eventNumber | string | true | ||
description | string | true |
History
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
sentenceSummaryList | array | true | SentenceSummary | |
probationHistory | object | true | ProbationHistory |
ProbationHistory
Name | Type | Required | Description | Schema |
---|---|---|---|---|
numberOfTerminatedEvents | integer | true | ||
dateOfMostRecentTerminatedEvent | string | false | ||
numberOfTerminatedEventBreaches | integer | true | ||
numberOfProfessionalContacts | integer | true |
PreviousOrder
Name | Type | Required | Description | Schema |
---|---|---|---|---|
title | string | true | ||
description | string | false | ||
terminationDate | string | false |
PreviousOrderHistory
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | object | true | Name | |
previousOrders | array | true | PreviousOrder |
Offences
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | object | true | Name | |
mainOffence | object | true | Offence | |
additionalOffences | array | true | Offence |
LicenceConditionNoteDetail
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
licenceCondition | object | false | LicenceCondition |
Contact
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | string | true | ||
string | false | |||
telephoneNumber | string | false | ||
provider | string | true | ||
probationDeliveryUnit | string | true | ||
team | string | false | ||
allocatedUntil | string | false |
ProfessionalContact
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | object | true | Name | |
contacts | array | true | Contact |
Activity
Name | Type | Required | Description | Schema |
---|---|---|---|---|
id | integer | true | ||
eventNumber | string | false | ||
type | string | true | ||
startDateTime | string | true | ||
endDateTime | string | false | ||
rarToolKit | string | false | ||
notes | string | false | ||
isSensitive | boolean | false | ||
hasOutcome | boolean | true | ||
wasAbsent | boolean | false | ||
officerName | object | false | Name | |
isInitial | boolean | true | ||
isNationalStandard | boolean | true | ||
location | object | false | OfficeAddress | |
rescheduled | boolean | true | ||
rescheduledStaff | boolean | true | ||
rescheduledPop | boolean | true | ||
didTheyComply | boolean | false | ||
absentWaitingEvidence | boolean | false | ||
rearrangeOrCancelReason | string | false | ||
rescheduledBy | object | false | Name | |
repeating | boolean | false | ||
nonComplianceReason | string | false | ||
documents | array | true | Document | |
rarCategory | string | false | ||
acceptableAbsence | boolean | false | ||
acceptableAbsenceReason | string | false | ||
isAppointment | boolean | true | ||
isCommunication | boolean | true | ||
action | string | false | ||
isSystemContact | boolean | false | ||
isEmailOrTextFromPop | boolean | false | ||
isPhoneCallFromPop | boolean | false | ||
isEmailOrTextToPop | boolean | false | ||
isPhoneCallToPop | boolean | false | ||
isPastAppointment | boolean | true | ||
countsTowardsRAR | boolean | false | ||
lastUpdated | string | true | ||
lastUpdatedBy | object | true | Name |
Document
Name | Type | Required | Description | Schema |
---|---|---|---|---|
id | string | true | ||
name | string | true | ||
lastUpdated | string | false |
OfficeAddress
Name | Type | Required | Description | Schema |
---|---|---|---|---|
officeName | string | false | ||
buildingName | string | false | ||
buildingNumber | string | false | ||
streetName | string | false | ||
district | string | false | ||
town | string | false | ||
county | string | false | ||
postcode | string | false | ||
ldu | string | true | ||
telephoneNumber | string | false |
Schedule
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
appointments | array | true | Activity |
PersonAppointment
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
appointment | object | true | Activity |
PersonRiskFlags
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
riskFlags | array | true | RiskFlag | |
removedRiskFlags | array | true | RiskFlag |
RiskFlag
Name | Type | Required | Description | Schema |
---|---|---|---|---|
id | integer | true | ||
description | string | true | ||
notes | string | false | ||
nextReviewDate | string | false | ||
mostRecentReviewDate | string | false | ||
createdDate | string | true | ||
createdBy | object | true | Name | |
removed | boolean | true | ||
removalHistory | array | true | RiskFlagRemoval |
RiskFlagRemoval
Name | Type | Required | Description | Schema |
---|---|---|---|---|
notes | string | false | ||
removalDate | string | true | ||
removedBy | object | true | Name |
PersonRiskFlag
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
riskFlag | object | true | RiskFlag |
Address
Name | Type | Required | Description | Schema |
---|---|---|---|---|
buildingName | string | false | ||
buildingNumber | string | false | ||
streetName | string | false | ||
district | string | false | ||
town | string | false | ||
county | string | false | ||
postcode | string | false | ||
telephoneNumber | string | false | ||
from | string | true | ||
to | string | false | ||
verified | boolean | false | ||
lastUpdated | string | false | ||
lastUpdatedBy | object | true | Name | |
type | string | false | ||
status | string | false | ||
notes | string | false |
Circumstances
Name | Type | Required | Description | Schema |
---|---|---|---|---|
circumstances | array | true | PersonalCircumstance | |
lastUpdated | string | false |
ContactAddress
Name | Type | Required | Description | Schema |
---|---|---|---|---|
buildingName | string | false | ||
buildingNumber | string | false | ||
streetName | string | false | ||
district | string | false | ||
town | string | false | ||
county | string | false | ||
postcode | string | false | ||
lastUpdated | string | true | ||
lastUpdatedBy | object | true | Name |
Disabilities
Name | Type | Required | Description | Schema |
---|---|---|---|---|
disabilities | array | true | ||
lastUpdated | string | false |
PersonalCircumstance
Name | Type | Required | Description | Schema |
---|---|---|---|---|
subType | string | true | ||
type | string | true |
PersonalContact
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
contactId | integer | true | ||
name | object | true | Name | |
relationship | string | false | ||
relationshipType | string | true | ||
address | object | false | ContactAddress | |
notes | string | false | ||
phone | string | false | ||
string | false | |||
startDate | string | false | ||
lastUpdated | string | true | ||
lastUpdatedBy | object | true | Name |
PersonalDetails
Name | Type | Required | Description | Schema |
---|---|---|---|---|
crn | string | true | ||
name | object | true | Name | |
contacts | array | true | PersonalContact | |
mainAddress | object | false | Address | |
otherAddressCount | integer | true | ||
previousAddressCount | integer | true | ||
preferredGender | string | true | ||
dateOfBirth | string | true | ||
preferredName | string | false | ||
previousSurname | string | false | ||
preferredLanguage | string | false | ||
genderIdentity | string | false | ||
selfDescribedGender | string | false | ||
aliases | array | true | Name | |
telephoneNumber | string | false | ||
mobileNumber | string | false | ||
string | false | |||
circumstances | object | true | Circumstances | |
disabilities | object | true | Disabilities | |
provisions | object | true | Provisions | |
pnc | string | false | ||
sex | string | true | ||
religionOrBelief | string | false | ||
sexualOrientation | string | false | ||
requiresInterpreter | boolean | false | ||
documents | array | true | Document |
Provisions
Name | Type | Required | Description | Schema |
---|---|---|---|---|
provisions | array | true | ||
lastUpdated | string | false |
Provision
Name | Type | Required | Description | Schema |
---|---|---|---|---|
description | string | true | ||
notes | string | false | ||
startDate | string | true | ||
lastUpdated | string | true | ||
lastUpdatedBy | object | true | Name |
ProvisionOverview
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
provisions | array | true | Provision |
StreamingResponseBody
Disability
Name | Type | Required | Description | Schema |
---|---|---|---|---|
description | string | true | ||
notes | string | false | ||
startDate | string | true | ||
lastUpdated | string | true | ||
lastUpdatedBy | object | true | Name |
DisabilityOverview
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
disabilities | array | true | Disability |
Circumstance
Name | Type | Required | Description | Schema |
---|---|---|---|---|
type | string | true | ||
subType | string | true | ||
notes | string | false | ||
verified | boolean | false | ||
startDate | string | true | ||
lastUpdated | string | true | ||
lastUpdatedBy | object | true | Name |
CircumstanceOverview
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
circumstances | array | true | Circumstance |
AddressOverview
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
mainAddress | object | false | Address | |
otherAddresses | array | true | Address | |
previousAddresses | array | true | Address |
ActivityCount
Name | Type | Required | Description | Schema |
---|---|---|---|---|
acceptableAbsenceCount | integer | true | ||
unacceptableAbsenceCount | integer | true | ||
attendedButDidNotComplyCount | integer | true | ||
outcomeNotRecordedCount | integer | true | ||
waitingForEvidenceCount | integer | true | ||
rescheduledCount | integer | true | ||
absentCount | integer | true | ||
rescheduledByStaffCount | integer | true | ||
rescheduledByPersonOnProbationCount | integer | true | ||
lettersCount | integer | true | ||
nationalStandardAppointmentsCount | integer | true | ||
compliedAppointmentsCount | integer | true |
Compliance
Name | Type | Required | Description | Schema |
---|---|---|---|---|
currentBreaches | integer | true | ||
breachStarted | boolean | true | ||
breachesOnCurrentOrderCount | integer | true | ||
priorBreachesOnCurrentOrderCount | integer | true | ||
failureToComplyCount | integer | true |
Overview
Name | Type | Required | Description | Schema |
---|---|---|---|---|
appointmentsWithoutOutcome | integer | true | ||
absencesWithoutEvidence | integer | true | ||
activity | object | false | ActivityCount | |
compliance | object | false | Compliance | |
personalDetails | object | true | PersonalDetails | |
previousOrders | object | true | PreviousOrders | |
schedule | object | true | Schedule | |
sentences | array | true | Sentence | |
registrations | array | true |
PreviousOrders
Name | Type | Required | Description | Schema |
---|---|---|---|---|
breaches | integer | true | ||
count | integer | true | ||
orders | array | true | Order |
Breach
Name | Type | Required | Description | Schema |
---|---|---|---|---|
startDate | string | false | ||
status | string | false |
PersonCompliance
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
currentSentences | array | true | SentenceCompliance | |
previousOrders | object | true | PreviousOrders |
SentenceCompliance
Name | Type | Required | Description | Schema |
---|---|---|---|---|
eventNumber | string | true | ||
mainOffence | object | true | Offence | |
order | object | false | Order | |
activeBreach | object | false | Breach | |
rar | object | false | Rar | |
rarCategory | string | false | ||
compliance | object | true | Compliance | |
activity | object | true | ActivityCount |
Team
Name | Type | Required | Description | Schema |
---|---|---|---|---|
description | string | true | ||
code | string | true |
UserTeam
Name | Type | Required | Description | Schema |
---|---|---|---|---|
provider | string | false | ||
teams | array | true | Team |
Staff
Name | Type | Required | Description | Schema |
---|---|---|---|---|
name | object | true | Name | |
code | string | true |
TeamCase
Name | Type | Required | Description | Schema |
---|---|---|---|---|
staff | object | true | Staff | |
caseName | object | true | Name | |
crn | string | true |
TeamCaseload
Name | Type | Required | Description | Schema |
---|---|---|---|---|
totalPages | integer | true | ||
totalElements | integer | true | ||
provider | string | false | ||
team | object | true | Team | |
caseload | array | true | TeamCase |
TeamStaff
Name | Type | Required | Description | Schema |
---|---|---|---|---|
provider | string | false | ||
staff | array | true | Staff |
PersonActivity
Name | Type | Required | Description | Schema |
---|---|---|---|---|
personSummary | object | true | PersonSummary | |
activities | array | true | Activity |