d08a107895ad

latestOpenAPI 3.0.3Apache 2.02026-08-062991191002.1 KB
Department

Retrieves a Department resource.

Retrieves a Department resource.

get/departments/{id}

Path parameters

idstring required

Resource identifier

Response

Department resource

idstring
integrationstring

The key of the integration source e.g. "quickbooks", or "xero"

namestring
directorystring nullable

List the directory of the current department e.g. Parent:Department1:SubDepartment1:SubDepartment2

subDepartmentboolean nullable

Boolean on if this department is a subdepartment

activeboolean

Boolean on if department is currently active

createdstring date-time nullable

Date entry was created

modifiedstring date-time nullable

Date entry was last modified

Example response

{
  "integration": "quickbooks"
}