new FindByEntityRequest(version, entityGuid)
Object FindByEntityRequest
Usage:
RestApiService.getOrgResourceService().findByEntity(request, callback);
Parameters:
Name | Type | Description |
---|---|---|
version |
number | (Java type: int) The major version of the organization model in which the specified entity can be found. A value of -1 will use the highest major version. |
entityGuid |
string | Identifier of an organizational entity. The method returns all resources associated with the specified organizational entity. Can be obtained using deleteResource. |
- Since:
- 4.0.0
Members
currentOnly :boolean
Query parameter: 'current' (optional) Indicates whether only resources currently associated with the
identified entities are to be include (true). If false, any date ranges applied to the resource or
its associations are ignored.
Type:
- boolean
- Since:
- 4.0.0
- Default Value:
- = false
deep :boolean
Query parameter: 'deep' (optional) Specifies whether the search for resources should extend to logical
associations (true). This only applies to groups (where sub-groups will also be included) and locations (where
associations by positions, organization units, and organizations will be included).
For other entity types, this parameter is ignored.
Type:
- boolean
- Since:
- 4.0.0
- Default Value:
- = false