List an organization's ownership history
GET {{baseUrl}}/organizations/:id/ownership-history?number=0&size=10&filter=<string>&sort=<string>
List an organization's ownership history
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
number | number | Index of page to be returned. Number of available pages is returned in response body property page.totalPages. | |
size | number | Specifies the number of elements in a page. Maximum number of resources to be returned per page. The service might return less resources. | |
filter | string | JSON string allowing to filter for the following optional fields and operations. |
JSON string can contain following fields:
- id E.g.: {"id":275}
- name E.g.: {"name":"CISCO"}
- parentId E.g.: {"parentId":263}
In the following, an unencoded example filter value is shown, to return the connector instances for given asset and parameters.
{
"name":"CISCO"
}
|
| sort
| string | | Specifies the fields to sort the results by.
Ex: GET /resources?sort=-color,+name : Sorts the results based on descending color order and ascending name order. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-None-Match | string | Specifies the ETag of the resource | |
Accept | string |
RESPONSES
status: OK
{"ownershipHistory":[{"eventTime":"2021-08-25T08:55:18.687Z","modifiedBy":{"userId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"organizationId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"firstname":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"lastname":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"owner":{"userId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"organizationId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"firstname":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"lastname":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"operation":"ADD_OWNER","internalOwners":-95435576,"externalOwners":16241992},{"eventTime":"2021-08-25T08:55:18.687Z","modifiedBy":{"userId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"organizationId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"firstname":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"lastname":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"owner":{"userId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"organizationId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"firstname":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"lastname":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"operation":"ADD_OWNER","internalOwners":-9812446,"externalOwners":-81358036}],"meta":{"page":{"totalPages":-14464043,"number":57565863,"size":-65743112,"elements":47199018,"totalElements":55655773}}}