PUT Workers/Worker/{workerID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workerID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

WorkerDTO
NameDescriptionTypeAdditional information
WorkerID

integer

None.

Area

string

None.

Name

NameDTO

None.

Addresses

AddressesDTO

None.

BusinessUnits

Collection of WorkerBusinessUnitDTO

None.

Groups

Collection of WorkerGroupDTO

None.

Notifications

Collection of WorkerNotificationDTO

None.

CommunicationMethods

CommunicationMethodsDTO

None.

Extensions

Collection of FormDataExtensionDto

None.

JobTitle

string

None.

MaritalStatus

string

None.

Gender

string

None.

BirthDate

date

None.

BirthMonth

byte

None.

BirthDay

byte

None.

IsBirthDateEstimated

boolean

None.

TZIDEntryID

integer

None.

WindowsTZEntryID

integer

None.

Props

Collection of Object

None.

Comments

string

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Summary

string

None.

ImageExists

boolean

None.

ImageEntityFileID

integer

None.

ImageEntityFileKey

string

None.

ImageEntityFileDateUtc

date

None.

ImageEntityFileLastUpdatedDateUtc

date

None.

PartialData

PartialDataType

None.

Request Formats

application/json, text/json

Sample:
{
  "workerID": 2,
  "type": 1,
  "area": "sample string 3",
  "name": {
    "lastName": "sample string 1",
    "firstName": "sample string 2",
    "preferredName": "sample string 3",
    "middleName": "sample string 4",
    "prefix": "sample string 5",
    "suffix": "sample string 6",
    "summary": "sample string 1, sample string 2 (sample string 3)"
  },
  "addresses": {
    "list": [],
    "partialData": 1
  },
  "businessUnits": [
    {
      "workerID": 1,
      "buid": 2,
      "businessUnitStatusID": 3,
      "startDateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "stopDateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "statusReason": "sample string 5",
      "statusReason2": "sample string 6",
      "statusComments": "sample string 7",
      "referralSource": "sample string 8",
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "businessUnitName": "sample string 9",
      "statusName": "sample string 10",
      "isSchedulable": true,
      "summary": "sample string 9"
    },
    {
      "workerID": 1,
      "buid": 2,
      "businessUnitStatusID": 3,
      "startDateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "stopDateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "statusReason": "sample string 5",
      "statusReason2": "sample string 6",
      "statusComments": "sample string 7",
      "referralSource": "sample string 8",
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "businessUnitName": "sample string 9",
      "statusName": "sample string 10",
      "isSchedulable": true,
      "summary": "sample string 9"
    }
  ],
  "groups": [
    {
      "workerID": 1,
      "buid": 2,
      "groupID": 3,
      "businessUnitStatusID": 4,
      "statusReason": "sample string 5",
      "statusReason2": "sample string 6",
      "statusComments": "sample string 7",
      "startDateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "stopDateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "recordState": 1,
      "referralSource": "sample string 9",
      "created": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "statusName": "sample string 10",
      "groupName": "sample string 11",
      "businessUnitName": "sample string 12",
      "isSchedulable": true
    },
    {
      "workerID": 1,
      "buid": 2,
      "groupID": 3,
      "businessUnitStatusID": 4,
      "statusReason": "sample string 5",
      "statusReason2": "sample string 6",
      "statusComments": "sample string 7",
      "startDateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "stopDateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "recordState": 1,
      "referralSource": "sample string 9",
      "created": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "statusName": "sample string 10",
      "groupName": "sample string 11",
      "businessUnitName": "sample string 12",
      "isSchedulable": true
    }
  ],
  "notifications": [
    {
      "workerID": 1,
      "type": "sample string 2",
      "subType": "sample string 3",
      "severity": 2,
      "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "reason": "sample string 5",
      "comments": "sample string 6",
      "recordState": 1,
      "createdByUserID": 7,
      "lastUpdatedByUserID": 8,
      "created": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "summary": "WorkerNotificationDTO"
    },
    {
      "workerID": 1,
      "type": "sample string 2",
      "subType": "sample string 3",
      "severity": 2,
      "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
      "reason": "sample string 5",
      "comments": "sample string 6",
      "recordState": 1,
      "createdByUserID": 7,
      "lastUpdatedByUserID": 8,
      "created": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
      },
      "summary": "WorkerNotificationDTO"
    }
  ],
  "communicationMethods": {
    "list": [],
    "partialData": 1,
    "phoneNumbers": []
  },
  "extensions": [
    {
      "entityID": 1,
      "entityID2": 2,
      "formFieldLinkID": 3,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2"
      }
    },
    {
      "entityID": 1,
      "entityID2": 2,
      "formFieldLinkID": 3,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
        "userName": "sample string 2"
      }
    }
  ],
  "jobTitle": "sample string 4",
  "maritalStatus": "sample string 5",
  "gender": "sample string 6",
  "birthDate": "2024-12-04T07:52:21.5455246+00:00",
  "birthMonth": 64,
  "birthDay": 64,
  "isBirthDateEstimated": true,
  "tzidEntryID": 1,
  "windowsTZEntryID": 1,
  "props": [],
  "comments": "sample string 8",
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T07:52:21.5455246+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:52:21 AM"
  },
  "summary": "sample string 1, sample string 2 (sample string 3)",
  "imageExists": true,
  "imageEntityFileID": 1,
  "imageEntityFileKey": "sample string 9",
  "imageEntityFileDateUtc": "2024-12-04T07:52:21.5455246Z",
  "imageEntityFileLastUpdatedDateUtc": "2024-12-04T07:52:21.5455246Z",
  "partialData": 1
}

application/xml, text/xml

Sample:
<WorkerDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <Addresses>
    <List />
    <PartialData>FullData</PartialData>
  </Addresses>
  <Area>sample string 3</Area>
  <BirthDate>2024-12-04T07:52:21.5455246+00:00</BirthDate>
  <BirthDay>64</BirthDay>
  <BirthMonth>64</BirthMonth>
  <BusinessUnits>
    <WorkerBusinessUnitDTO>
      <BUID>2</BUID>
      <BusinessUnitName>sample string 9</BusinessUnitName>
      <BusinessUnitStatusID>3</BusinessUnitStatusID>
      <Created>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <IsSchedulable>true</IsSchedulable>
      <LastUpdated>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <Props xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
      <RecordState>Active</RecordState>
      <ReferralSource>sample string 8</ReferralSource>
      <StartDateUtc>2024-12-04T07:52:21.5455246+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-04T07:52:21.5455246+00:00</StopDateUtc>
      <WorkerID>1</WorkerID>
    </WorkerBusinessUnitDTO>
    <WorkerBusinessUnitDTO>
      <BUID>2</BUID>
      <BusinessUnitName>sample string 9</BusinessUnitName>
      <BusinessUnitStatusID>3</BusinessUnitStatusID>
      <Created>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <IsSchedulable>true</IsSchedulable>
      <LastUpdated>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <Props xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
      <RecordState>Active</RecordState>
      <ReferralSource>sample string 8</ReferralSource>
      <StartDateUtc>2024-12-04T07:52:21.5455246+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-04T07:52:21.5455246+00:00</StopDateUtc>
      <WorkerID>1</WorkerID>
    </WorkerBusinessUnitDTO>
  </BusinessUnits>
  <Comments>sample string 8</Comments>
  <CommunicationMethods>
    <List />
    <PartialData>FullData</PartialData>
    <PhoneNumbers />
  </CommunicationMethods>
  <Created>
    <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <EntityID>2</EntityID>
  <Extensions xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Models.Forms">
    <d2p1:FormDataExtensionDto>
      <d2p1:Created>
        <d2p1:DateUtc>2024-12-04T07:52:21.5455246+00:00</d2p1:DateUtc>
        <d2p1:UserName>sample string 2</d2p1:UserName>
      </d2p1:Created>
      <d2p1:EntityID>1</d2p1:EntityID>
      <d2p1:EntityID2>2</d2p1:EntityID2>
      <d2p1:Field i:nil="true" />
      <d2p1:FieldValue>sample string 4</d2p1:FieldValue>
      <d2p1:FormFieldLinkID>3</d2p1:FormFieldLinkID>
      <d2p1:LastUpdated>
        <d2p1:DateUtc>2024-12-04T07:52:21.5455246+00:00</d2p1:DateUtc>
        <d2p1:UserName>sample string 2</d2p1:UserName>
      </d2p1:LastUpdated>
      <d2p1:RecordState>Active</d2p1:RecordState>
    </d2p1:FormDataExtensionDto>
    <d2p1:FormDataExtensionDto>
      <d2p1:Created>
        <d2p1:DateUtc>2024-12-04T07:52:21.5455246+00:00</d2p1:DateUtc>
        <d2p1:UserName>sample string 2</d2p1:UserName>
      </d2p1:Created>
      <d2p1:EntityID>1</d2p1:EntityID>
      <d2p1:EntityID2>2</d2p1:EntityID2>
      <d2p1:Field i:nil="true" />
      <d2p1:FieldValue>sample string 4</d2p1:FieldValue>
      <d2p1:FormFieldLinkID>3</d2p1:FormFieldLinkID>
      <d2p1:LastUpdated>
        <d2p1:DateUtc>2024-12-04T07:52:21.5455246+00:00</d2p1:DateUtc>
        <d2p1:UserName>sample string 2</d2p1:UserName>
      </d2p1:LastUpdated>
      <d2p1:RecordState>Active</d2p1:RecordState>
    </d2p1:FormDataExtensionDto>
  </Extensions>
  <Gender>sample string 6</Gender>
  <Groups>
    <WorkerGroupDTO>
      <BUID>2</BUID>
      <BusinessUnitName>sample string 12</BusinessUnitName>
      <BusinessUnitStatusID>4</BusinessUnitStatusID>
      <Created>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <GroupID>3</GroupID>
      <GroupName>sample string 11</GroupName>
      <IsSchedulable>true</IsSchedulable>
      <LastUpdated>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <ReferralSource>sample string 9</ReferralSource>
      <StartDateUtc>2024-12-04T07:52:21.5455246+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-04T07:52:21.5455246+00:00</StopDateUtc>
      <WorkerID>1</WorkerID>
    </WorkerGroupDTO>
    <WorkerGroupDTO>
      <BUID>2</BUID>
      <BusinessUnitName>sample string 12</BusinessUnitName>
      <BusinessUnitStatusID>4</BusinessUnitStatusID>
      <Created>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <GroupID>3</GroupID>
      <GroupName>sample string 11</GroupName>
      <IsSchedulable>true</IsSchedulable>
      <LastUpdated>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <ReferralSource>sample string 9</ReferralSource>
      <StartDateUtc>2024-12-04T07:52:21.5455246+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-04T07:52:21.5455246+00:00</StopDateUtc>
      <WorkerID>1</WorkerID>
    </WorkerGroupDTO>
  </Groups>
  <ImageEntityFileDateUtc>2024-12-04T07:52:21.5455246Z</ImageEntityFileDateUtc>
  <ImageEntityFileID>1</ImageEntityFileID>
  <ImageEntityFileKey>sample string 9</ImageEntityFileKey>
  <ImageEntityFileLastUpdatedDateUtc>2024-12-04T07:52:21.5455246Z</ImageEntityFileLastUpdatedDateUtc>
  <IsBirthDateEstimated>true</IsBirthDateEstimated>
  <JobTitle>sample string 4</JobTitle>
  <LastUpdated>
    <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <MaritalStatus>sample string 5</MaritalStatus>
  <Name>
    <FirstName>sample string 2</FirstName>
    <LastName>sample string 1</LastName>
    <MiddleName>sample string 4</MiddleName>
    <PreferredName>sample string 3</PreferredName>
    <Prefix>sample string 5</Prefix>
    <Suffix>sample string 6</Suffix>
  </Name>
  <Notifications>
    <WorkerNotificationDTO>
      <Comments>sample string 6</Comments>
      <Created>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <CreatedByUserID>7</CreatedByUserID>
      <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
      <LastUpdated>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <LastUpdatedByUserID>8</LastUpdatedByUserID>
      <Props xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
      <Reason>sample string 5</Reason>
      <RecordState>Active</RecordState>
      <Severity>Information</Severity>
      <SubType>sample string 3</SubType>
      <Type>sample string 2</Type>
      <WorkerID>1</WorkerID>
    </WorkerNotificationDTO>
    <WorkerNotificationDTO>
      <Comments>sample string 6</Comments>
      <Created>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <CreatedByUserID>7</CreatedByUserID>
      <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
      <LastUpdated>
        <DateUtc>2024-12-04T07:52:21.5455246+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <LastUpdatedByUserID>8</LastUpdatedByUserID>
      <Props xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
      <Reason>sample string 5</Reason>
      <RecordState>Active</RecordState>
      <Severity>Information</Severity>
      <SubType>sample string 3</SubType>
      <Type>sample string 2</Type>
      <WorkerID>1</WorkerID>
    </WorkerNotificationDTO>
  </Notifications>
  <PartialData>FullData</PartialData>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
  <RecordState>Active</RecordState>
  <TZIDEntryID>1</TZIDEntryID>
  <Type>Organization</Type>
  <WindowsTZEntryID>1</WindowsTZEntryID>
  <WorkerID>2</WorkerID>
</WorkerDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
���O�0���(O�VF�y+HӀI��$P���z$ve;���a������t�S~HCC�[���>�}|��׏�7���� ?t�$j�z>?	[>�@��W$���)-�x;~��$Cō��O��(Dј�k�֙�1H	ԩ0�d���渜�]���hR��e�XS�9_w��U|�^U\z��bH(��(�}���\�"5#i�hX��a�Ga�3�ڋ���̨����L�+��AG5N��A_���(��0�
�^����$
߶�v;�;o� 	�7-f�}ì����A��U�Y��"�EI�i���\�֓�g%#!�	@A���@M��v�+����%?���h;�6Kx��޻�q�xF�wV�qμ�L��d��:M��)�(�2�zw�q��ߗ�/��lS!��^7��s�,g���=���4T׹s�.��ܔ�=a䦾�07878�<��Ps�٘��f�;�uћ87:�l��P�
$�s{2\Y8Fu�w�o�*���G����07��|鋅�t�n���E����e.�"-9/O@O�����Tp8ͳ!HS��\k�jY�0͈O���!�8��̎�������9�����[s���-#_Ű�t��:��1���O������Ӯ�̓<�����O:���y����b�C�YVD�h��wF����]1NŕꝯΤ���`Ck���'|�Čfd��X��"�Ő=wG,�2s�я�j��d�y���w|�OQ�p�ޢ��

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.