GET Setup/OrganizationalUnit/Initialize

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

OrganizationalUnitDTO
NameDescriptionTypeAdditional information
OUID

integer

None.

DBID

integer

None.

OUName

string

None.

Comments

string

None.

Props

Collection of Object

None.

RecordState

RecordState

None.

BUIDs

Collection of integer

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Summary

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ouid": 1,
  "dbid": 2,
  "ouName": "sample string 3",
  "comments": "sample string 4",
  "recordState": 1,
  "buiDs": [
    1,
    2
  ],
  "created": {
    "dateUtc": "2024-12-04T07:54:35.0076475+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:54:35 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T07:54:35.0076475+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:54:35 AM"
  },
  "summary": "sample string 3"
}

application/xml, text/xml

Sample:
<OrganizationalUnitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BUIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BUIDs>
  <Comments>sample string 4</Comments>
  <Created>
    <DateUtc>2024-12-04T07:54:35.0076475+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <DBID>2</DBID>
  <LastUpdated>
    <DateUtc>2024-12-04T07:54:35.0076475+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <OUID>1</OUID>
  <OUName>sample string 3</OUName>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <RecordState>Active</RecordState>
</OrganizationalUnitDTO>

application/x-compressed-json

Sample:
�͎�
�0�_%�j��4��Mp�E;�Cl�L+I:H�9�H��Wq��n��������j*�`N��.[�,(�]/������2�P���&�	���ZovQG�<u��>)G�zK�z0$�XQ�@!�T$(�X�\�,�#KY�3D�H�]��� A0t�i�2�6,�+�'��60p��˫��9�L/pҨ�