court-locations
Get Court Locations (paginated, filterable)
Returns a paginated list of Court Locations.
- Filters:
- name – case-insensitive partial match
- code – case-insensitive partial match
get/court-locations
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/court-locations
- Authnone declared
Query parameters
namestring
Filter by court name (contains, case-insensitive).
codestring
Filter by Court Location code (contains, case-insensitive).
pageNumberinteger
Zero-based page index.
pageSizeinteger
Page size.
sortstring[]
Sort parameter. Format: property,(asc|desc). Currently only a single sort value is supported. Example: ?sort=name,asc.
[ "name,asc" ]
Response
Page of summarised Court Locations
Example response
{
"sort": {
"orders": [
{
"property": "title",
"direction": "asc"
},
{
"property": "code",
"direction": "desc"
}
]
},
"content": [
{
"name": "Cardiff Crown Court Set 1",
"locationCode": "CCC003"
}
]
}Changes
No recorded changes to this operation across all 61 revisions of this API.