GET {repositoryId}/OrganizationalUnit/{id}/TopLevelManagerPosition?excludeRootLevel={excludeRootLevel}

Gets the top level manager position of the given organizational unit.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the organizational unit.

string

Required

excludeRootLevel

If true, the root node will be excluded from the search.

boolean

Default value is False

repositoryId

ID of the resource repository (optional).

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Reference to the top level manager position.

NamedReference
NameDescriptionTypeAdditional information
Name

string

None.

Url

string

None.

Type

Types

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Url": "sample string 2",
  "Type": 0
}

application/xml, text/xml

Sample:
<NamedReference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema">
  <Type>Undefined</Type>
  <Url>sample string 2</Url>
  <Name>sample string 1</Name>
</NamedReference>