The Organizations feature in Kantata OX is composed of two independent trees:
Department and Geography. Each has its own hierarchy structure.
Users and Workspaces are associated to exact positions in these two trees
via Organization Memberships.
The corresponding API fields are geography_id
and department_id
.
A user's position in these two trees determines what objects they can see in Kantata OX—they can see objects associated with every department and geography going up the hierarchy from their selected department and geography.
This endpoint returns structured Organization objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the organizations
top-level JSON key.
Please see our Response Format section for more information.
created_after | string <date-time> Filter for records created after a specified datetime. The datetime must be in ISO 8601 format. |
created_before | string <date-time> Filter for records created before a specified datetime. The datetime must be in ISO 8601 format. |
for_current_user | boolean Filter for organizations the current user belongs to. The parameter value is ignored (i.e. regardless of the value you supply, including this filter will always filter by organizations the current user belongs to). |
matching | string Where organization name is like specified parameter. |
only | string Allows you to request one or more resources directly by ID. Multiple IDs can be supplied
in a comma separated list, like |
order | string Default: "alphabetical:asc" Supply Valid values: |
page | integer <int32> Default: 1 |
per_page | integer <int32> <= 200 Default: 20 |
type | string Where the organization is of a specified type. |
updated_after | string <date-time> Filter for records updated after a specified datetime. The datetime must be in ISO 8601 format. |
updated_before | string <date-time> Filter for records updated before a specified datetime. The datetime must be in ISO 8601 format. |
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "organizations": {
- "property1": {
- "ancestor_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "ancestor_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
This endpoint returns structured Organization objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the organizations
top-level JSON key.
Please see our Response Format section for more information.
{- "organization": {
- "name": "string",
- "parent_id": 0
}
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "organizations": {
- "property1": {
- "ancestor_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "ancestor_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
This endpoint returns structured Organization objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the organizations
top-level JSON key.
Please see our Response Format section for more information.
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "organizations": {
- "property1": {
- "ancestor_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "ancestor_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
This endpoint returns structured Organization objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results
array
and will be indexed by ID in the organizations
top-level JSON key.
Please see our Response Format section for more information.
{- "organization": {
- "name": "string",
- "parent_id": 0
}
}
{- "count": 0,
- "meta": {
- "count": 0,
- "page_count": 0,
- "page_number": 0,
- "page_size": 0
}, - "results": [
- {
- "key": "string",
- "id": "string"
}
], - "organizations": {
- "property1": {
- "ancestor_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "property2": {
- "ancestor_ids": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "string",
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
}
The response will contain no content and an HTTP 204 status code if the request was successful, or a standard Kantata OX error message explaining why the object could not be deleted.
Organization has been deleted.
Bad Request
Unauthorized request
Forbidden request
Page Not Found
Unprocessable Entity
Service is unavailable
{- "errors": [
- {
- "type": "string",
- "message": "string"
}
]
}