POST Workers/BusinessUnitStatus?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

WorkerBusinessUnitStatusDTO
NameDescriptionTypeAdditional 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-04T07:56:27.8594826+00:00",
  "stopDateUtc": "2024-12-04T07:56:27.8594826+00:00",
  "statusReason": "sample string 6",
  "statusReason2": "sample string 7",
  "statusComments": "sample string 8",
  "referralSource": "sample string 9",
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T07:56:27.8594826+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:56:27 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T07:56:27.8594826+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:56:27 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-04T07:56:27.8594826+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <LastUpdated>
    <DateUtc>2024-12-04T07:56:27.8594826+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <RecordState>Active</RecordState>
  <ReferralSource>sample string 9</ReferralSource>
  <StartDateUtc>2024-12-04T07:56:27.8594826+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-04T07:56:27.8594826+00:00</StopDateUtc>
  <WorkerID>2</WorkerID>
</WorkerBusinessUnitStatusDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�͒�N�0�_ź��:&MRo@@���Mr��؎Ύ��d<�@P%0K7�����������8���*�i/����C$�0v-ȳP�Πs����gIВ����7 Ap�-R��ٖr�KQ���uV���s�9��U��w��5��)=�Ȝ��<�� "�8�Vk4�EH9!��H�����Y�Hc�
�VC8�SD;h��htH7J�]D�u�Z�k�Ǭa�Xf�Ђ}{��k�'�+���/�|���g����wX����'��k�

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.