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.

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.

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.

Return

Array of Role objects.

Security

Superuser, manager, person (Uncertain...)