GET /api/organizations 200 { "total": 3, "subtotal": 3, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "ancestry": null, "parent_id": null, "parent_name": null, "created_at": "2022-03-29 09:13:43 UTC", "updated_at": "2022-03-29 09:13:43 UTC", "id": 114267492, "name": "Empty Organization", "title": "Empty Organization", "description": null }, { "ancestry": null, "parent_id": null, "parent_name": null, "created_at": "2022-03-29 09:13:43 UTC", "updated_at": "2022-03-29 09:13:43 UTC", "id": 447626438, "name": "Organization 1", "title": "Organization 1", "description": null }, { "ancestry": null, "parent_id": null, "parent_name": null, "created_at": "2022-03-29 09:13:43 UTC", "updated_at": "2022-03-29 09:13:43 UTC", "id": 61304186, "name": "Organization 2", "title": "Organization 2", "description": null } ] }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort and order by a searchable field, e.g. ‘ Maruku could not parse this XML/HTML: <field> DESC' Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return, ‘all’ to return all results Validations:
|
Field name | Type | Possible values |
---|---|---|
description | text | |
id | integer | |
name | string | |
organization_id | integer | |
title | string |