PUT Workers/Relationship/{workerRelationshipID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workerRelationshipID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
WorkerRelationshipDTOName | Description | Type | Additional information |
---|---|---|---|
WorkerRelationshipID | integer |
None. |
|
ChildEntityID | integer |
None. |
|
ParentEntityID | integer |
None. |
|
EntityRelationshipTypeEntryID | integer |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
EntityRelationshipTypeValue | string |
None. |
|
WorkerRelationshipDetails | WorkerRelationshipDetailsDTO |
None. |
|
ParentEntityType | EntityType |
None. |
|
ParentEntityTypeEntryID | integer |
None. |
|
ParentEntityTypeEntryValue | string |
None. |
|
ParentEntityName | NameDTO |
None. |
|
ParentEntityAddresses | AddressesDTO |
None. |
|
ParentEntityCommunicationMethods | CommunicationMethodsDTO |
None. |
|
Comments | string |
None. |
|
Summary | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "workerRelationshipID": 1, "childEntityID": 2, "parentEntityID": 3, "entityRelationshipTypeEntryID": 4, "recordState": 1, "created": { "dateUtc": "2024-12-04T08:15:49.2341927+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:15:49 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:15:49.2341927+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:15:49 AM" }, "entityRelationshipTypeValue": "sample string 5", "workerRelationshipDetails": { "list": [] }, "parentEntityType": 1, "parentEntityTypeEntryID": 6, "parentEntityTypeEntryValue": "sample string 7", "parentEntityName": { "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)" }, "parentEntityAddresses": { "list": [], "partialData": 1 }, "parentEntityCommunicationMethods": { "list": [], "partialData": 1, "phoneNumbers": [] }, "comments": "sample string 8", "summary": "WorkerRelationshipDTO" }
application/xml, text/xml
Sample:
<WorkerRelationshipDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <ChildEntityID>2</ChildEntityID> <Comments>sample string 8</Comments> <Created> <DateUtc>2024-12-04T08:15:49.2341927+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <EntityRelationshipTypeEntryID>4</EntityRelationshipTypeEntryID> <EntityRelationshipTypeValue>sample string 5</EntityRelationshipTypeValue> <LastUpdated> <DateUtc>2024-12-04T08:15:49.2341927+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <ParentEntityAddresses> <List /> <PartialData>FullData</PartialData> </ParentEntityAddresses> <ParentEntityCommunicationMethods> <List /> <PartialData>FullData</PartialData> <PhoneNumbers /> </ParentEntityCommunicationMethods> <ParentEntityID>3</ParentEntityID> <ParentEntityName> <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> </ParentEntityName> <ParentEntityType>Organization</ParentEntityType> <ParentEntityTypeEntryID>6</ParentEntityTypeEntryID> <ParentEntityTypeEntryValue>sample string 7</ParentEntityTypeEntryValue> <RecordState>Active</RecordState> <WorkerRelationshipDetails> <List /> </WorkerRelationshipDetails> <WorkerRelationshipID>1</WorkerRelationshipID> </WorkerRelationshipDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� �R�N�0��hO M��[E9ph����`�-�pZ;���q�����h��l���>>7��+�-*nd��̮'�.D+��Ub�Y/̅�&���������u��B%#p�0JI�np'Kh�� {X�B`�}v�so��0]�n�����B�r�4�U��L�� ���a�ysZ71'M�u�N���k;�)l]P\�E&��8�^�s�7��l�fr4\*],��6>>m���e�ǟ����9P��ֶٔ��ۂ��h�]F�D"���e�R��p��ﭖ�|���D�N=Ó�H�Psy,��XI���Մn3��\�q�'2*Ü�Y��h����gy����QGV�*���ʆ͟3���7�-��
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. |