Skip to main content
GET
List all departments

Authorizations

Authorization
string
header
required

Access token obtained from /oauth/token. Pass as Authorization: Bearer {token}

Response

A list of departments

id
string

The unique identifier for the department

Example:

"2784_118"

costCentreCode
string

The cost centre code associated with this department. Empty string if not assigned.

Example:

""

manager
string

The manager of the department. Empty string if not assigned.

Example:

""

name
string

The display name of the department

Example:

"Bakery"

payRollCode
string

The payroll code associated with this department. Empty string if not assigned.

Example:

""

roles
object[]

A list of roles within this department

workDayFinishTime
string

The default work day finish time for this department. Empty string if not set.

Example:

""

workDayStartTime
string

The default work day start time for this department. Empty string if not set.

Example:

""