POST V2/Users/BusinessUnit?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
validateOnly | boolean |
Default value is False |
Body Parameters
UserBusinessUnitDTOV2Name | Description | Type | Additional information |
---|---|---|---|
OrgID | integer |
None. |
|
UserID | integer |
None. |
|
BUID | integer |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
BusinessUnitName | string |
None. |
|
BusinessUnitType | BusinessUnitType |
None. |
|
Summary | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "orgID": 1, "userID": 1, "buid": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T08:16:44.2726558+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:16:44 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:16:44.2726558+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:16:44 AM" }, "businessUnitName": "sample string 3", "businessUnitType": 1, "summary": "sample string 3" }
application/xml, text/xml
Sample:
<UserBusinessUnitDTOV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <BUID>2</BUID> <BusinessUnitName>sample string 3</BusinessUnitName> <BusinessUnitType>RM</BusinessUnitType> <Created> <DateUtc>2024-12-04T08:16:44.2726558+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:16:44.2726558+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> <UserID>1</UserID> <OrgID>1</OrgID> </UserBusinessUnitDTOV2>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ͐��0�_��� �$�L\t�І�����d>��`��n'�n�sr������`�VK�����@ɲW�b��/P*�crS� �C�c�ᔅ �tKv$��t�1�������C#�6��*DԶm�?�;��� ����� �&Ŀ�)��;�u���9���l�����`~ =ђ#�
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. |