organisation units

Organisation Units are administrative units that exist within the organisation and are rendered in the organisation chart view, for example 'Finance' or 'HR'

Get Organisation Units

SecuritybearerAuth
Responses
200

Organisation Units - Array

400

Bad Request

401

Unauthorized - Authorization Required

422

Unprocessable Entity

default

General Error

get/organisationUnits
Request samples
Response samples
application/vnd.api+json
{}

Create an Organisation Unit

Create an Organisation Unit

SecuritybearerAuth
Request
Request Body schema: application/vnd.api+json

OrganisationUnit object that needs to be added

object
Responses
200

Organisation Unit

400

Bad Request

401

Unauthorized - Authorization Required

422

Unprocessable Entity

default

General Error

post/organisationUnits
Request samples
application/vnd.api+json
{
  • "data": {
    }
}
Response samples
application/vnd.api+json
{}

Get OrganisationUnit by ID

Get OrganisationUnit by ID

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

Organisation Unit ID

Example: 906264f1-2dff-4f72-a10b-59918cf738d7
Responses
200

Organisation Unit

400

Bad Request

401

Unauthorized - Authorization Required

404

Not Found

422

Unprocessable Entity

default

General Error

get/organisationUnits/{id}
Request samples
Response samples
application/vnd.api+json
{}

Update an existing Organisation Unit by ID

Update an existing Organisation Unit by ID

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

Organisation Unit ID

Example: 906264f1-2dff-4f72-a10b-59918cf738d7
Request Body schema: application/vnd.api+json

OrganisationUnit object that needs to be updated

object
Responses
200

Organisation Unit

400

Bad Request

401

Unauthorized - Authorization Required

404

Not Found

422

Unprocessable Entity

default

General Error

patch/organisationUnits/{id}
Request samples
application/vnd.api+json
{
  • "data": {
    }
}
Response samples
application/vnd.api+json
{}