POST Workers/Worker?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
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:57:46.5643407+00:00",
      "stopDateUtc": "2024-12-04T07:57:46.5643407+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:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 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:57:46.5643407+00:00",
      "stopDateUtc": "2024-12-04T07:57:46.5643407+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:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 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:57:46.5643407+00:00",
      "stopDateUtc": "2024-12-04T07:57:46.5643407+00:00",
      "recordState": 1,
      "referralSource": "sample string 9",
      "created": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 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:57:46.5643407+00:00",
      "stopDateUtc": "2024-12-04T07:57:46.5643407+00:00",
      "recordState": 1,
      "referralSource": "sample string 9",
      "created": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 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:57:46.5643407+00:00",
      "reason": "sample string 5",
      "comments": "sample string 6",
      "recordState": 1,
      "createdByUserID": 7,
      "lastUpdatedByUserID": 8,
      "created": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
      },
      "summary": "WorkerNotificationDTO"
    },
    {
      "workerID": 1,
      "type": "sample string 2",
      "subType": "sample string 3",
      "severity": 2,
      "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
      "reason": "sample string 5",
      "comments": "sample string 6",
      "recordState": 1,
      "createdByUserID": 7,
      "lastUpdatedByUserID": 8,
      "created": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
      },
      "summary": "WorkerNotificationDTO"
    }
  ],
  "communicationMethods": {
    "list": [],
    "partialData": 1,
    "phoneNumbers": []
  },
  "extensions": [
    {
      "entityID": 1,
      "entityID2": 2,
      "formFieldLinkID": 3,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T07:57:46.5800971+00:00",
        "userName": "sample string 2"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:57:46.5800971+00:00",
        "userName": "sample string 2"
      }
    },
    {
      "entityID": 1,
      "entityID2": 2,
      "formFieldLinkID": 3,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T07:57:46.5800971+00:00",
        "userName": "sample string 2"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T07:57:46.5800971+00:00",
        "userName": "sample string 2"
      }
    }
  ],
  "jobTitle": "sample string 4",
  "maritalStatus": "sample string 5",
  "gender": "sample string 6",
  "birthDate": "2024-12-04T07:57:46.5800971+00:00",
  "birthMonth": 64,
  "birthDay": 64,
  "isBirthDateEstimated": true,
  "tzidEntryID": 1,
  "windowsTZEntryID": 1,
  "props": [],
  "comments": "sample string 8",
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T07:57:46.5643407+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:57:46 AM"
  },
  "summary": "sample string 1, sample string 2 (sample string 3)",
  "imageExists": true,
  "imageEntityFileID": 1,
  "imageEntityFileKey": "sample string 9",
  "imageEntityFileDateUtc": "2024-12-04T07:57:46.5800971Z",
  "imageEntityFileLastUpdatedDateUtc": "2024-12-04T07:57:46.5800971Z",
  "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:57:46.5800971+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:57:46.5643407+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <IsSchedulable>true</IsSchedulable>
      <LastUpdated>
        <DateUtc>2024-12-04T07:57:46.5643407+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:57:46.5643407+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:57:46.5643407+00:00</StopDateUtc>
      <WorkerID>1</WorkerID>
    </WorkerBusinessUnitDTO>
    <WorkerBusinessUnitDTO>
      <BUID>2</BUID>
      <BusinessUnitName>sample string 9</BusinessUnitName>
      <BusinessUnitStatusID>3</BusinessUnitStatusID>
      <Created>
        <DateUtc>2024-12-04T07:57:46.5643407+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <IsSchedulable>true</IsSchedulable>
      <LastUpdated>
        <DateUtc>2024-12-04T07:57:46.5643407+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:57:46.5643407+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:57:46.5643407+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:57:46.5643407+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:57:46.5800971+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:57:46.5800971+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:57:46.5800971+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:57:46.5800971+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:57:46.5643407+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:57:46.5643407+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <ReferralSource>sample string 9</ReferralSource>
      <StartDateUtc>2024-12-04T07:57:46.5643407+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:57:46.5643407+00:00</StopDateUtc>
      <WorkerID>1</WorkerID>
    </WorkerGroupDTO>
    <WorkerGroupDTO>
      <BUID>2</BUID>
      <BusinessUnitName>sample string 12</BusinessUnitName>
      <BusinessUnitStatusID>4</BusinessUnitStatusID>
      <Created>
        <DateUtc>2024-12-04T07:57:46.5643407+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:57:46.5643407+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
      <ReferralSource>sample string 9</ReferralSource>
      <StartDateUtc>2024-12-04T07:57:46.5643407+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:57:46.5643407+00:00</StopDateUtc>
      <WorkerID>1</WorkerID>
    </WorkerGroupDTO>
  </Groups>
  <ImageEntityFileDateUtc>2024-12-04T07:57:46.5800971Z</ImageEntityFileDateUtc>
  <ImageEntityFileID>1</ImageEntityFileID>
  <ImageEntityFileKey>sample string 9</ImageEntityFileKey>
  <ImageEntityFileLastUpdatedDateUtc>2024-12-04T07:57:46.5800971Z</ImageEntityFileLastUpdatedDateUtc>
  <IsBirthDateEstimated>true</IsBirthDateEstimated>
  <JobTitle>sample string 4</JobTitle>
  <LastUpdated>
    <DateUtc>2024-12-04T07:57:46.5643407+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:57:46.5643407+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <CreatedByUserID>7</CreatedByUserID>
      <DateUtc>2024-12-04T07:57:46.5643407+00:00</DateUtc>
      <LastUpdated>
        <DateUtc>2024-12-04T07:57:46.5643407+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:57:46.5643407+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <CreatedByUserID>7</CreatedByUserID>
      <DateUtc>2024-12-04T07:57:46.5643407+00:00</DateUtc>
      <LastUpdated>
        <DateUtc>2024-12-04T07:57:46.5643407+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:
��Qo�0ǿJ��M�k����m�4���Ԋ�5���e�>����vv�2p��Z���?����×�?���Bހ���������$l�D�_�|����d|��
���~F����WD!��LVX#�N$AJ�N�Y$g�f�4dz	�ݚ�M��LMk�s"��7��W+.��`H(��(�}���\��"5#Y�hX��A�Ga�3������̨������.�Q�������S�6
�x/�������V7�6�8h�	�$�޴����Y�3%�;�K��P�x/���銤��2�$�B���<��THjP��"y�	2�iG�Y�\U�#Op/���}��7��{wa2n�M���20Ι�Iq�L�S�t��� C��T�s�������\|�@��(&�
���uS?p�rvV��B�IKMu�;ۀ�p��榴�P������\�\���p�BͅfC��w��7qnt�u�L'��H���d�\Y}8�*��7��iO�{i������
`.^�b��\�����~Q�q�qـK�LK�g��ǂn���y,8\��)P}\�4p��X�f�g���!�8
���d�����ӻ�� 8n�������ajs���-#_Š�t��:��1���O�#�����㶍ͣ<�����O����i����|�S�Y^F�l��wFO�����2Nŭ�^-N���SC����'|�Č�d�wX��<��=wg,�Y�VF?��=^�m�y��]��w��GO������i׍

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.