Skip to main content Skip to navigation

List all departments

List all departments in Tabula.

Permission requirements

The information is public, but the API must be called by an authenticated user.

Information about API permissions

Definition

GET https://tabula.warwick.ac.uk/api/v1/department

Example request

GET https://tabula.warwick.ac.uk/api/v1/department

Response parameters

An unsuccessful response will be returned in the standard format. A successful response will return the HTTP code 200 OK and the following parameters:

success Boolean true
status The string "ok"
departments An array of department objects - note that the subDepartments property will not be returned

Example response

{
  "success": true,
  "status": "ok",
  "departments": [
    {
      "code": "AA",
      "fullName": "Central University and Infrastructure",
      "modules": [],
      "name": "Central University and Infrastructure",
      "routes": [],
      "shortName": null
    },
    {
      "code": "AB",
      "fullName": "Education - Directors Office",
      "modules": [],
      "name": "Education - Directors",
      "routes": [],
      "shortName": "Education - Directors"
    },
    ...
  }
}

Tabula API Methods