Manage departments within an organisation. Departments are used to mirror your organisation structure and are used for targeting content and reporting.
Query Departments
Query all departments within your Reelyze tenant. Can be filtered by any property using querystring parameters
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
OK
idstring · requiredorganisationIdstring · requirednamestring · requiredName of the department. Must be unique within the organisation.
parentIdstring | null · requiredId of the parent department.
Query Departments for Organisation
Returns a list of all departments within the specified organisation
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
OK
idstring · requiredorganisationIdstring · requirednamestring · requiredName of the department. Must be unique within the organisation.
parentIdstring | null · requiredId of the parent department.
Create Department
Create a new department within the given organisation
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Created
idstring · requiredorganisationIdstring · requirednamestring · requiredName of the department. Must be unique within the organisation.
parentIdstring | null · requiredId of the parent department.
Get Department
Get details for a department
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
OK
idstring · requiredorganisationIdstring · requirednamestring · requiredName of the department. Must be unique within the organisation.
parentIdstring | null · requiredId of the parent department.
Update Department
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
OK
idstring · requiredorganisationIdstring · requirednamestring · requiredName of the department. Must be unique within the organisation.
parentIdstring | null · requiredId of the parent department.
