PUT Setup/RoleBusinessUnit/{bUID}/{roleID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bUID | integer |
Required |
|
roleID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
RoleBusinessUnitDTOName | Description | Type | Additional information |
---|---|---|---|
BUID | integer |
None. |
|
RoleID | integer |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "buid": 1, "roleID": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T08:05:34.5860766+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:05:34 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:05:34.5860766+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:05:34 AM" } }
application/xml, text/xml
Sample:
<RoleBusinessUnitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <BUID>1</BUID> <Created> <DateUtc>2024-12-04T08:05:34.5860766+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:05:34.5860766+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> <RoleID>2</RoleID> </RoleBusinessUnitDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ͎1�0�����E�ւ����.�*mI�-�!���#y�q�n_�������� ?X�߁� M;x}�*��j�I�b3�MlAG.2�3g�$r#�EU�,W�(L���r��r�5$D��W�s��~z�x.���v�� �BlF�w�X�$�B
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. |