Skip to main content
API Reference

The following documentation is also available in these formats:

API Reference v1.0

/staff

post

Responses

StatusDescriptionSchema
200

OK

{
}

/probation-case/responsible-community-manager

post

Responses

StatusDescriptionSchema
200

OK

{
}

/team/{teamCode}/caseload/managed-offenders

get

Parameters

ParameterInTypeRequiredDescription
teamCode path string true

Responses

StatusDescriptionSchema
200

OK

{
}

/staff/{username}

get

Parameters

ParameterInTypeRequiredDescription
username path string true

Responses

StatusDescriptionSchema
200

OK

{
  "id": "integer",
  "code": "string",
  "name": {
    "forename": "string",
    "middleName": "string",
    "surname": "string"
  },
  "teams": [
    {
      "code": "string",
      "description": "string",
      "telephone": "string",
      "emailAddress": "string",
      "addresses": [
        {
          "officeName": "string",
          "buildingName": "string",
          "buildingNumber": "string",
          "streetName": "string",
          "district": "string",
          "town": "string",
          "county": "string",
          "postcode": "string",
          "ldu": "string",
          "telephoneNumber": "string",
          "from": "string",
          "to": "string"
        }
      ],
      "district": {
        "code": "string",
        "description": "string",
        "borough": {
          "code": "string",
          "description": "string"
        }
      },
      "borough": {
        "code": "string",
        "description": "string"
      },
      "startDate": "string",
      "endDate": "string"
    }
  ],
  "provider": {
    "code": "string",
    "description": "string"
  },
  "username": "string",
  "email": "string",
  "telephoneNumber": "string",
  "unallocated": "boolean"
}
Staff

/staff/{staffCode}/caseload/managed-offenders

get

Parameters

ParameterInTypeRequiredDescription
staffCode path string true

Responses

StatusDescriptionSchema
200

OK

{
}

/staff/{boroughCode}/pdu-head

get

Parameters

ParameterInTypeRequiredDescription
boroughCode path string true

Responses

StatusDescriptionSchema
200

OK

{
}

/staff/bycode/{code}

get

Parameters

ParameterInTypeRequiredDescription
code path string true

Responses

StatusDescriptionSchema
200

OK

{
  "id": "integer",
  "code": "string",
  "name": {
    "forename": "string",
    "middleName": "string",
    "surname": "string"
  },
  "teams": [
    {
      "code": "string",
      "description": "string",
      "telephone": "string",
      "emailAddress": "string",
      "addresses": [
        {
          "officeName": "string",
          "buildingName": "string",
          "buildingNumber": "string",
          "streetName": "string",
          "district": "string",
          "town": "string",
          "county": "string",
          "postcode": "string",
          "ldu": "string",
          "telephoneNumber": "string",
          "from": "string",
          "to": "string"
        }
      ],
      "district": {
        "code": "string",
        "description": "string",
        "borough": {
          "code": "string",
          "description": "string"
        }
      },
      "borough": {
        "code": "string",
        "description": "string"
      },
      "startDate": "string",
      "endDate": "string"
    }
  ],
  "provider": {
    "code": "string",
    "description": "string"
  },
  "username": "string",
  "email": "string",
  "telephoneNumber": "string",
  "unallocated": "boolean"
}
Staff

/probation-case/{crn}/responsible-community-manager

get

Parameters

ParameterInTypeRequiredDescription
crn path string true

Responses

StatusDescriptionSchema
200

OK

{
  "id": "integer",
  "code": "string",
  "name": {
    "forename": "string",
    "middleName": "string",
    "surname": "string"
  },
  "provider": {
    "code": "string",
    "description": "string"
  },
  "team": {
    "code": "string",
    "description": "string",
    "telephone": "string",
    "emailAddress": "string",
    "addresses": [
      {
        "officeName": "string",
        "buildingName": "string",
        "buildingNumber": "string",
        "streetName": "string",
        "district": "string",
        "town": "string",
        "county": "string",
        "postcode": "string",
        "ldu": "string",
        "telephoneNumber": "string",
        "from": "string",
        "to": "string"
      }
    ],
    "district": {
      "code": "string",
      "description": "string",
      "borough": {
        "code": "string",
        "description": "string"
      }
    },
    "borough": {
      "code": "string",
      "description": "string"
    },
    "startDate": "string",
    "endDate": "string"
  },
  "username": "string",
  "email": "string",
  "unallocated": "boolean"
}
Manager

Schemas

Name

NameTypeRequiredDescriptionSchema
forename string true
middleName string false
surname string true

StaffName

NameTypeRequiredDescriptionSchema
id integer true
name object true Name
code string true
username string false

StaffEmail

NameTypeRequiredDescriptionSchema
code string true
email string false

Borough

NameTypeRequiredDescriptionSchema
code string true
description string true

District

NameTypeRequiredDescriptionSchema
code string true
description string true
borough object true Borough

ManagedOffender

NameTypeRequiredDescriptionSchema
crn string true
name object true Name
allocationDate string false
staff object true Staff
team object false Team

OfficeAddress

NameTypeRequiredDescriptionSchema
officeName string true
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
from string true
to string false

Provider

NameTypeRequiredDescriptionSchema
code string true
description string true

Staff

NameTypeRequiredDescriptionSchema
id integer true
code string true
name object true Name
teams array true Team
provider object true Provider
username string false
email string false
telephoneNumber string false
unallocated boolean true

Team

NameTypeRequiredDescriptionSchema
code string true
description string true
telephone string false
emailAddress string false
addresses array false OfficeAddress
district object true District
borough object true Borough
startDate string true
endDate string false

PDUHead

NameTypeRequiredDescriptionSchema
name object true Name
email string false

Manager

NameTypeRequiredDescriptionSchema
id integer true
code string true
name object true Name
provider object true Provider
team object true Team
username string false
email string false
unallocated boolean true