GET {repositoryId}/OrganizationalUnit/{id}
Reads an OrganizationalUnit resource by ID.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the OrganizationalUnit resource. |
string |
Required |
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
The requested OrganizationalUnit resource.
OrganizationalUnitName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
Initials | string |
None. |
|
OrganizationReference | NamedReference |
None. |
|
OrganizationalBlockReference | NamedReference |
None. |
|
Id | string |
None. |
|
RepositoryId | string |
None. |
|
ModelReference | NamedReference |
None. |
|
Fields | Dictionary of Object [key] and Object [value] |
None. |
|
Locked | ChangeStatusInformation |
None. |
|
Frozen | ChangeStatusInformation |
None. |
|
LastUpdated | ChangeStatusInformation |
None. |
|
AttachmentInfoList | Collection of AttachmentInfo |
None. |
|
StructureHash | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "Initials": "sample string 3", "OrganizationReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "OrganizationalBlockReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "ObjectType": 109, "Id": "sample string 4", "RepositoryId": "sample string 5", "ModelReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Fields": null, "Locked": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:39:16.6321473+01:00" }, "Frozen": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:39:16.6321473+01:00" }, "LastUpdated": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:39:16.6321473+01:00" }, "AttachmentInfoList": [ { "RepositoryId": "sample string 1", "Id": "sample string 2", "OwnerType": 0, "AttachmentId": "sample string 3", "FileName": "sample string 4", "FileExtension": "sample string 5", "FileLength": 6, "System": true, "Created": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:39:16.6321473+01:00" }, "LastUpdated": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:39:16.6321473+01:00" }, "Operation": 0, "Tags": [ "sample string 1", "sample string 2" ], "Tag": "sample string 8" }, { "RepositoryId": "sample string 1", "Id": "sample string 2", "OwnerType": 0, "AttachmentId": "sample string 3", "FileName": "sample string 4", "FileExtension": "sample string 5", "FileLength": 6, "System": true, "Created": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:39:16.6321473+01:00" }, "LastUpdated": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:39:16.6321473+01:00" }, "Operation": 0, "Tags": [ "sample string 1", "sample string 2" ], "Tag": "sample string 8" } ], "StructureHash": "sample string 6" }
application/xml, text/xml
Sample:
<OrganizationalUnit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema"> <AttachmentInfoList> <AttachmentInfo> <AttachmentId>sample string 3</AttachmentId> <Created> <Date>2024-11-22T08:39:16.6321473+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Created> <FileExtension>sample string 5</FileExtension> <FileLength>6</FileLength> <FileName>sample string 4</FileName> <Id>sample string 2</Id> <LastUpdated> <Date>2024-11-22T08:39:16.6321473+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </LastUpdated> <Operation>None</Operation> <OwnerType>Undefined</OwnerType> <RepositoryId>sample string 1</RepositoryId> <System>true</System> <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Tags> <Tag>sample string 8</Tag> </AttachmentInfo> <AttachmentInfo> <AttachmentId>sample string 3</AttachmentId> <Created> <Date>2024-11-22T08:39:16.6321473+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Created> <FileExtension>sample string 5</FileExtension> <FileLength>6</FileLength> <FileName>sample string 4</FileName> <Id>sample string 2</Id> <LastUpdated> <Date>2024-11-22T08:39:16.6321473+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </LastUpdated> <Operation>None</Operation> <OwnerType>Undefined</OwnerType> <RepositoryId>sample string 1</RepositoryId> <System>true</System> <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Tags> <Tag>sample string 8</Tag> </AttachmentInfo> </AttachmentInfoList> <Description>sample string 2</Description> <Fields i:nil="true" /> <Frozen> <Date>2024-11-22T08:39:16.6321473+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Frozen> <Id>sample string 4</Id> <LastUpdated> <Date>2024-11-22T08:39:16.6321473+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </LastUpdated> <Locked> <Date>2024-11-22T08:39:16.6321473+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Locked> <ModelReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </ModelReference> <Name>sample string 1</Name> <ObjectType>OrganizationalUnit</ObjectType> <RepositoryId>sample string 5</RepositoryId> <StructureHash>sample string 6</StructureHash> <Initials>sample string 3</Initials> <OrganizationReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </OrganizationReference> <OrganizationalBlockReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </OrganizationalBlockReference> </OrganizationalUnit>