POST Setup/OrganizationalUnit?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
validateOnly | boolean |
Default value is False |
Body Parameters
OrganizationalUnitDTOName | Description | Type | Additional 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. |
Request 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-04T08:01:20.3410395+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:01:20 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:01:20.3410395+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:01:20 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-04T08:01:20.3410395+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <DBID>2</DBID> <LastUpdated> <DateUtc>2024-12-04T08:01:20.3410395+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-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ͎� �0�_%�jj/i�&�ꢝ�!m�L+I:��d>���Uܪ�������?����-8�j��ec� ���ɱ�B�Y��{צ8��`pu�6��ށU߬�s/�<�58�pK�L5�H�*2C�ùF�%N%�X�&��b����A�`�7�2f�k���ʇ ��f�5�8�LL���˜_�n/�K��
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |