PUT Setup/OrganizationalUnit/{oUID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
oUID | integer |
Required |
|
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-04T07:58:57.9946034+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:58:57 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:58:57.9946034+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:58:57 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:58:57.9946034+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <DBID>2</DBID> <LastUpdated> <DateUtc>2024-12-04T07:58:57.9946034+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:
� ͎9�0E�bM��c6wH��@*DabE�q�@QNF���D�t_��/�۽�j 2��O��/[e HʶCB�us&P������ ��T��]TѼO�^��!���Vo`CE+ጋ,�{6�Ӆ���˥��B���al ���d���OF\Cr>������j=�� �l����e*� \�:�
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. |