POST Workers/Group?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

WorkerGroupDTO
NameDescriptionTypeAdditional information
WorkerID

integer

None.

BUID

integer

None.

GroupID

integer

None.

BusinessUnitStatusID

integer

None.

StatusReason

string

None.

StatusReason2

string

None.

StatusComments

string

None.

StartDateUtc

date

None.

StopDateUtc

date

None.

RecordState

RecordState

None.

ReferralSource

string

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

StatusName

string

None.

GroupName

string

None.

BusinessUnitName

string

None.

IsSchedulable

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "workerID": 1,
  "buid": 2,
  "groupID": 3,
  "businessUnitStatusID": 4,
  "statusReason": "sample string 5",
  "statusReason2": "sample string 6",
  "statusComments": "sample string 7",
  "startDateUtc": "2024-12-04T08:09:12.2624269+00:00",
  "stopDateUtc": "2024-12-04T08:09:12.2624269+00:00",
  "recordState": 1,
  "referralSource": "sample string 9",
  "created": {
    "dateUtc": "2024-12-04T08:09:12.2624269+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:09:12 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:09:12.2624269+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:09:12 AM"
  },
  "statusName": "sample string 10",
  "groupName": "sample string 11",
  "businessUnitName": "sample string 12",
  "isSchedulable": true
}

application/xml, text/xml

Sample:
<WorkerGroupDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BUID>2</BUID>
  <BusinessUnitName>sample string 12</BusinessUnitName>
  <BusinessUnitStatusID>4</BusinessUnitStatusID>
  <Created>
    <DateUtc>2024-12-04T08:09:12.2624269+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <GroupID>3</GroupID>
  <GroupName>sample string 11</GroupName>
  <IsSchedulable>true</IsSchedulable>
  <LastUpdated>
    <DateUtc>2024-12-04T08:09:12.2624269+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <RecordState>Active</RecordState>
  <ReferralSource>sample string 9</ReferralSource>
  <StartDateUtc>2024-12-04T08:09:12.2624269+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:12.2624269+00:00</StopDateUtc>
  <WorkerID>1</WorkerID>
</WorkerGroupDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�͒�N�0�_%�%��bp`��֌�&��DM{2<�@�!����c�Ͽ;�������w��(��&�
(���\�S�*}k��ʶat�>%���xF�^��C��vˮ����'�1h�� 7��J�B=��|!��/�V�R	y)�ˢ��\q>����
��Q���q��H����T��W9�Ԅ=�k�I��Gz�f�*��h���i�9˄\��Ԃ�i��G�g�i��9;�O����x\�i��6O%g�_�o��No�	q�?nw��

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.