GET /api/organisations/:id

Description

Returns detailed view of organisation object. :id is organisation ID.

Return

Array of one Organisation object.

Security

Superuser, manager, only available to manager if manager for this particular object

GET /api/organisations

Description

Returns list of organisation objects.

Parameters

start

Int. Optional. Index to start at

limit

Int. Optional. Max length of result set

parent_id

Int. Optional. Restricts result set to organisation objects belong to this parent. parent_id=0 yields only root organisation objects.

user_name

String. Optional. Person’s username. If given, will return list of organisations person belongs to.

Return

Array of Organisation objects.

Security

Superuser, manager, will yield different results based on manager’s permissions