Relationships Input

Input representation of the relationship among members of a party relationship group.

JSON Example 

1"relations":[
2               {
3                  "roleRelationId":"0zlRM0000004CAaYAM",
4                  "relatedContactId":"003RM00000895NFYAY",
5                  "startDate":"2023-06-14T00:00:00.000Z",
6                  "endDate":"2024-06-14T00:00:00.000Z",
7                  "isActive":true,
8                  "customFields":{
9                     "field1":"field1Value",
10                     "field2":"field1Value"
11                  }
12               }
13            ]

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
ccrIdStringRecord ID of the ContactContactRelationship object.Optional58.0
customFieldsMap<String, Object>Custom fields associated with the ContactRelationship object.Optional58.0
endDateStringDate when the contact relationship ends.Optional58.0
hierarchyTypeStringHierarchy among the contacts that are related.Optional58.0
isActiveBooleanIndicates whether the relationship is active (true) or not (false).Optional58.0
relatedContactIdStringRecord ID of the RelatedContact object.Required58.0
relatedInverseRecordIdStringRecord ID of the related inverse record.Optional58.0
roleRelationIdStringRecord ID of the PartyRoleRelation object.Required58.0
startDateStringDate when the contact relationship starts.Optional58.0