GET api/OrgUnits/{id}

Fetch a specific orgunit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

OrgUnit
NameDescriptionTypeAdditional information
City

string

None.

CountryCode

string

None.

Nr

string

None.

ParentId

integer

None.

NestingLevel

integer

None.

CompanyId

integer

None.

Name

string

None.

LastModified

date

None.

Created

date

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "City": "sample string 1",
  "CountryCode": "sample string 2",
  "Nr": "sample string 3",
  "ParentId": 4,
  "NestingLevel": 5,
  "CompanyId": 6,
  "Name": "sample string 7",
  "LastModified": "2025-12-08T14:20:54.1411056+00:00",
  "Created": "2025-12-08T14:20:54.1411056+00:00",
  "Id": 10
}

application/xml, text/xml

Sample:
<OrgUnit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlKeeper.ApiModel">
  <Id>10</Id>
  <Created>2025-12-08T14:20:54.1411056+00:00</Created>
  <LastModified>2025-12-08T14:20:54.1411056+00:00</LastModified>
  <Name>sample string 7</Name>
  <CompanyId>6</CompanyId>
  <City>sample string 1</City>
  <CountryCode>sample string 2</CountryCode>
  <NestingLevel>5</NestingLevel>
  <Nr>sample string 3</Nr>
  <ParentId>4</ParentId>
</OrgUnit>