GET /api/competencegroups

Description

Returns list of competence groups.

Parameters

all

Int. Optional. 0/1. If 1, return all competence groups, regardless of hierarchy. If 0, returns only root competence groups. Default 0.

limit

Int. Optional. Default: 20. Maximum: 100. Limit the size of the result set.

offset

Int. Optional. Default: 0. Offset the result set, starting at this index. For batching/paging.

fields

String. Optional. See Field customization.

Return

Array of CompetenceGroup objects.

Security

Superuser, manager, person

GET /api/competencegroups/[competence_group_id]

Description

Returns detailed view of  competence group, and list of sub competence groups.

Parameters

fields

String. Optional. See Field customization.

Return

Array of one CompetenceGroup object.

Security

Superuser, manager, person

GET /api/competencegroups/[competence_group_id]/roles

Description

Returns list of roles that have requirements defined within or below the requested competence group.

Parameters

fields

String. Optional. See Field customization.

Return

Array of Role objects.

Security

Superuser, manager, person (Uncertain...)