role_id

Unique ID for role.

id

Alias for "role_id".

title

Title of role.

roletype_name

Name of type of role.

description

Description of role.

organisation_id

ID of organisation the role is linked to for person. Can indicate that person belongs to this organisation, but may have other meanings too.

organisation_ids

Array of organisation_ids. For special roles, indicates which parts of the organisation tree the role is valid in.

rolemetatype

Provdes the role meta type. The meta type can be either 'role', 'specialrole' or 'position'. See also /api/roles on how to filter on this attrbute.

organisations

Contains a list of organisation objects which defined under which organisational unites this role is valid. 

Please note: This attribute is returned for superuser accounts only. Regular users will not receive this information.

owner_organisation

Organisation object that is set as owner for this role.

owner_person

Person that is set as owner for this role.

required_competences

Array of Competence objects (simple view) that are required for this role. Note that if there are organisational restrictions on any of the competences, these are not taken into account here, all competences are listed, regardless of their validity in different parts of the organisational structure.

optional_competences

Array of Competence objects (simple view) that are set as optional/suggested for this role. Note that if there are organisational restrictions on any of the competences, these are not taken into account here. All competences are listed, regardless of their validity in different parts of the organisational structure.