PUT Contacts/Relationship/{contactRelationshipID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactRelationshipID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

ContactRelationshipDTO
NameDescriptionTypeAdditional information
ContactRelationshipID

integer

None.

ChildEntityID

integer

None.

ChildEntityType

EntityType

None.

ParentEntityID

integer

None.

ParentEntityType

EntityType

None.

ParentEntityName

NameDTO

None.

EntityRelationshipTypeEntryID

integer

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

EntityRelationshipTypeValue

string

None.

ContactRelationshipDetails

ContactRelationshipDetailsDTO

None.

Extensions

Collection of FormDataExtensionDto

None.

Comments

string

None.

Summary

string

None.

Request Formats

application/json, text/json

Sample:
{
  "contactRelationshipID": 1,
  "childEntityID": 2,
  "childEntityType": 1,
  "parentEntityID": 3,
  "parentEntityType": 1,
  "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)"
  },
  "entityRelationshipTypeEntryID": 4,
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:16:30.9349701+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:16:30 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:16:30.9349701+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:16:30 AM"
  },
  "entityRelationshipTypeValue": "sample string 5",
  "contactRelationshipDetails": {
    "list": []
  },
  "extensions": [
    {
      "entityID": 1,
      "entityID2": 2,
      "formFieldLinkID": 3,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:16:30.9349701+00:00",
        "userName": "sample string 2"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:16:30.9349701+00:00",
        "userName": "sample string 2"
      }
    },
    {
      "entityID": 1,
      "entityID2": 2,
      "formFieldLinkID": 3,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:16:30.9349701+00:00",
        "userName": "sample string 2"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:16:30.9349701+00:00",
        "userName": "sample string 2"
      }
    }
  ],
  "comments": "sample string 6",
  "summary": "ContactRelationshipDTO"
}

application/xml, text/xml

Sample:
<ContactRelationshipDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <ChildEntityID>2</ChildEntityID>
  <ChildEntityType>Organization</ChildEntityType>
  <Comments>sample string 6</Comments>
  <ContactRelationshipDetails>
    <List />
  </ContactRelationshipDetails>
  <ContactRelationshipID>1</ContactRelationshipID>
  <Created>
    <DateUtc>2024-12-04T08:16:30.9349701+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <EntityRelationshipTypeEntryID>4</EntityRelationshipTypeEntryID>
  <EntityRelationshipTypeValue>sample string 5</EntityRelationshipTypeValue>
  <Extensions xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Models.Forms">
    <d2p1:FormDataExtensionDto>
      <d2p1:Created>
        <d2p1:DateUtc>2024-12-04T08:16:30.9349701+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-04T08:16:30.9349701+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-04T08:16:30.9349701+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-04T08:16:30.9349701+00:00</d2p1:DateUtc>
        <d2p1:UserName>sample string 2</d2p1:UserName>
      </d2p1:LastUpdated>
      <d2p1:RecordState>Active</d2p1:RecordState>
    </d2p1:FormDataExtensionDto>
  </Extensions>
  <LastUpdated>
    <DateUtc>2024-12-04T08:16:30.9349701+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <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>
  <RecordState>Active</RecordState>
</ContactRelationshipDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
��SMK1�+!'ŭͦk�{� ��z��f��쒤�R��y�'�L�+�v�'E�6��ȼy3����Y���H�D��T��C��ΦB�s�[�]ˌ%Ԭ����[O��n���%�̺U�-S�d��	�8¹0;P���@�oe�<C	�%��I�oAG���
�אR�,�GhC#�ې���C��W��A�S��D�@V~�[���!vq�]�SB�NL;$��4�=r8�%�c���,����ꃢB��v�n(�����u�5.�_�������"a�-�>DŽ��.
�p�8	�h(>�l�4G���A�Q$�������������$l�R�S��ٟ�,��W�"�L

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.