PUT Workers/Role/{entityBusinessUnitRoleID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityBusinessUnitRoleID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
WorkerBusinessUnitRoleDTOName | Description | Type | Additional information |
---|---|---|---|
WorkerID | integer |
None. |
|
EntityBusinessUnitRoleID | integer |
None. |
|
RoleID | integer |
None. |
|
RoleName | string |
None. |
|
BUID | integer |
None. |
|
BusinessUnitName | string |
None. |
|
StartDateUtc | date |
None. |
|
StopDateUtc | date |
None. |
|
StopDateUtcEventID | integer |
None. |
|
ReferenceNumber | string |
None. |
|
Props | Collection of Object |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "entityBusinessUnitRoleID": 3, "roleID": 4, "roleName": "sample string 5", "buid": 6, "businessUnitName": "sample string 7", "startDateUtc": "2024-12-04T08:09:53.2586001+00:00", "stopDateUtc": "2024-12-04T08:09:53.2586001+00:00", "stopDateUtcEventID": 1, "referenceNumber": "sample string 9", "recordState": 1, "created": { "dateUtc": "2024-12-04T08:09:53.2586001+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:09:53 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:09:53.2586001+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:09:53 AM" }, "workerID": 2 }
application/xml, text/xml
Sample:
<WorkerBusinessUnitRoleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <BUID>6</BUID> <BusinessUnitName>sample string 7</BusinessUnitName> <Created> <DateUtc>2024-12-04T08:09:53.2586001+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <EntityBusinessUnitRoleID>3</EntityBusinessUnitRoleID> <EntityID>2</EntityID> <LastUpdated> <DateUtc>2024-12-04T08:09:53.2586001+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" /> <RecordState>Active</RecordState> <ReferenceNumber>sample string 9</ReferenceNumber> <RoleID>4</RoleID> <RoleName>sample string 5</RoleName> <StartDateUtc>2024-12-04T08:09:53.2586001+00:00</StartDateUtc> <StopDateUtc>2024-12-04T08:09:53.2586001+00:00</StopDateUtc> <StopDateUtcEventID>1</StopDateUtcEventID> <WorkerID>2</WorkerID> </WorkerBusinessUnitRoleDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� �P1N1���-�s�B�.(� ��݂�����EQ^F���v�D�4��igfg���sh����E��ã��~ rR a�W� H��=2H�WVC�;��~}βo�Ea�6�M�E5*ňW�|&�\֓kQϦ��W�K�7�Yq��J�e��/Hh[\E�F:�7��iuO!���0�Tp�E�G:����1���7�,+Ÿ�����/�W>4C�_�;� �i���<N
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. |