PUT Workers/BusinessUnit/{workerID}/{bUID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workerID | integer |
Required |
|
bUID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
WorkerBusinessUnitDTOName | Description | Type | Additional information |
---|---|---|---|
WorkerID | integer |
None. |
|
BUID | integer |
None. |
|
BusinessUnitStatusID | integer |
None. |
|
StartDateUtc | date |
None. |
|
StopDateUtc | date |
None. |
|
StatusReason | string |
None. |
|
StatusReason2 | string |
None. |
|
Props | Collection of Object |
None. |
|
StatusComments | string |
None. |
|
ReferralSource | string |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
BusinessUnitName | string |
None. |
|
StatusName | string |
None. |
|
IsSchedulable | boolean |
None. |
|
Summary | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "workerID": 1, "buid": 2, "businessUnitStatusID": 3, "startDateUtc": "2024-12-04T08:09:47.2768463+00:00", "stopDateUtc": "2024-12-04T08:09:47.2768463+00:00", "statusReason": "sample string 5", "statusReason2": "sample string 6", "statusComments": "sample string 7", "referralSource": "sample string 8", "recordState": 1, "created": { "dateUtc": "2024-12-04T08:09:47.2768463+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:09:47 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:09:47.2768463+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:09:47 AM" }, "businessUnitName": "sample string 9", "statusName": "sample string 10", "isSchedulable": true, "summary": "sample string 9" }
application/xml, text/xml
Sample:
<WorkerBusinessUnitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <BUID>2</BUID> <BusinessUnitName>sample string 9</BusinessUnitName> <BusinessUnitStatusID>3</BusinessUnitStatusID> <Created> <DateUtc>2024-12-04T08:09:47.2768463+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <IsSchedulable>true</IsSchedulable> <LastUpdated> <DateUtc>2024-12-04T08:09:47.2768463+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> <ReferralSource>sample string 8</ReferralSource> <StartDateUtc>2024-12-04T08:09:47.2768463+00:00</StartDateUtc> <StatusComments>sample string 7</StatusComments> <StatusName>sample string 10</StatusName> <StatusReason>sample string 5</StatusReason> <StatusReason2>sample string 6</StatusReason2> <StopDateUtc>2024-12-04T08:09:47.2768463+00:00</StopDateUtc> <WorkerID>1</WorkerID> </WorkerBusinessUnitDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ͒MN�0��byKJ7��;D7,`A��d��؎fl!T�d,8W �P�H���H�7������7����k�҄oB�q%cA���������*��5������+.���\��Q�JT*+.e��Y��B ��č�*�����$!m�y��3�����gXO3���'@�C��0C�=�:�b �ϧE��)�-�κ(�6�-2z �h|����,��lW�������>h����;�?�����Q���h���}�.z3L�� ��T|� iv8<�
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. |