POST Setup/RoleBusinessUnit?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
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:03:45.0715467+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:03:45 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:03:45.0715467+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:03:45 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:03:45.0715467+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:03:45.0715467+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:
� ͎� �0�W�^�C��C�;$ h ��B��$�O��LF�H��At,@�I�������i������@��>E�G��ḏ t�&� �#��3n$����X�J���D )T.�@Pn�����Jx�!9���ב�'���|O�o7�`�`U�ͨ�����u��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. |