PUT Workers/BusinessUnitStatus/{statusID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
statusID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
WorkerBusinessUnitStatusDTOName | Description | Type | Additional information |
---|---|---|---|
StatusID | integer |
None. |
|
WorkerID | integer |
None. |
|
BUID | integer |
None. |
|
BusinessUnitStatusID | integer |
None. |
|
StartDateUtc | date |
None. |
|
StopDateUtc | date |
None. |
|
StatusReason | string |
None. |
|
StatusReason2 | string |
None. |
|
StatusComments | string |
None. |
|
ReferralSource | string |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
StatusName | string |
None. |
|
Summary | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "statusID": 1, "workerID": 2, "buid": 3, "businessUnitStatusID": 4, "startDateUtc": "2024-12-04T08:14:50.3045631+00:00", "stopDateUtc": "2024-12-04T08:14:50.3045631+00:00", "statusReason": "sample string 6", "statusReason2": "sample string 7", "statusComments": "sample string 8", "referralSource": "sample string 9", "recordState": 1, "created": { "dateUtc": "2024-12-04T08:14:50.3045631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:14:50 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:14:50.3045631+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:14:50 AM" }, "statusName": "sample string 10", "summary": "WorkerBusinessUnitStatusDTO" }
application/xml, text/xml
Sample:
<WorkerBusinessUnitStatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <BUID>3</BUID> <BusinessUnitStatusID>4</BusinessUnitStatusID> <Created> <DateUtc>2024-12-04T08:14:50.3045631+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:14:50.3045631+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> <ReferralSource>sample string 9</ReferralSource> <StartDateUtc>2024-12-04T08:14:50.3045631+00:00</StartDateUtc> <StatusComments>sample string 8</StatusComments> <StatusID>1</StatusID> <StatusName>sample string 10</StatusName> <StatusReason>sample string 6</StatusReason> <StatusReason2>sample string 7</StatusReason2> <StopDateUtc>2024-12-04T08:14:50.3045631+00:00</StopDateUtc> <WorkerID>2</WorkerID> </WorkerBusinessUnitStatusDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ͒�N�0�_ź��ڎ[�7 �F�&9PDlGgGU}2�W � K7�����������-�hb��"�WO/H�!3x�t���8�tM\�q�%-��D,c$�j&䌫 _i���\-��8�\sI�c��=��� �v-��q�ly � q�'����b� �!|B"Ӯ}ON���<�) ê�r�h�Q����i�f�5�6�c�1!�j�Z�ovq�Zb���e��������xp��+6w���Y96�
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. |