GET PlanCare2Api/Relations/{relationId}/Correlations
Get the correlations of correlationTypes where user has read permission for.
Relation(s) can be of the following types: Client, Prospect, Family, Employee, ContactPerson
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| relationId |
Id of relation. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The correlations of correlationTypes where user has read permission for.
Collection of Correlation| Name | Description | Type | Additional information |
|---|---|---|---|
| CorrelationId |
Correlation id |
integer |
None |
| SourceId |
Source id |
integer |
None |
| SourceName |
Source name |
string |
None |
| SourceRelationName |
Relation description of the source |
string |
None |
| ConnectionName |
Name of the correlation type |
string |
Deprecated: Please use 'CorrelationType.Name' instead. |
| CorrelationType |
Correlation type |
CorrelationType |
None |
| TargetId |
Target id |
integer |
None |
| TargetName |
Target Name |
string |
None |
| TargetRelationName |
Relation description of the target |
string |
None |
| StartDate |
Start date |
date |
None |
| EndDate |
End date |
date |
None |
| CorrelationRoleId |
Correlation Role id |
globally unique identifier |
None |
| Description |
Description |
string |
None |
| DisciplineOrRoleName |
Description or role name |
string |
None |
| ExcludeFromDossier |
Exclude from Dossier |
boolean |
None |
| Priority |
Priority |
integer |
None |
| AllowAccessClientPortal |
Only applicable for personal relations between contactperson and client. If true means that the contactperson has permission to view the client's data in the client web portal. |
boolean |
None |
Response Formats
application/json, text/json
[
{
"$id": "1",
"CorrelationId": 1,
"SourceId": 2,
"SourceName": "sample string 3",
"SourceRelationName": "sample string 4",
"ConnectionName": "sample string 2",
"CorrelationType": {
"$id": "2",
"Id": 1,
"Name": "sample string 2"
},
"TargetId": 1,
"TargetName": "sample string 6",
"TargetRelationName": "sample string 7",
"StartDate": "2026-05-26T23:12:58.3388576+02:00",
"EndDate": "2026-05-26T23:12:58.3388576+02:00",
"CorrelationRoleId": "0897b554-c791-4a3d-940b-0e2e7c234935",
"Description": "sample string 9",
"DisciplineOrRoleName": "sample string 10",
"ExcludeFromDossier": true,
"Priority": 12,
"AllowAccessClientPortal": true
},
{
"$ref": "1"
}
]
application/xml, text/xml
<ArrayOfCorrelation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Relation">
<Correlation>
<AllowAccessClientPortal>true</AllowAccessClientPortal>
<ConnectionName>sample string 2</ConnectionName>
<CorrelationId>1</CorrelationId>
<CorrelationRoleId>0897b554-c791-4a3d-940b-0e2e7c234935</CorrelationRoleId>
<CorrelationType>
<Id>1</Id>
<Name>sample string 2</Name>
</CorrelationType>
<Description>sample string 9</Description>
<DisciplineOrRoleName>sample string 10</DisciplineOrRoleName>
<EndDate>2026-05-26T23:12:58.3388576+02:00</EndDate>
<ExcludeFromDossier>true</ExcludeFromDossier>
<Priority>12</Priority>
<SourceId>2</SourceId>
<SourceName>sample string 3</SourceName>
<SourceRelationName>sample string 4</SourceRelationName>
<StartDate>2026-05-26T23:12:58.3388576+02:00</StartDate>
<TargetId>1</TargetId>
<TargetName>sample string 6</TargetName>
<TargetRelationName>sample string 7</TargetRelationName>
</Correlation>
<Correlation>
<AllowAccessClientPortal>true</AllowAccessClientPortal>
<ConnectionName>sample string 2</ConnectionName>
<CorrelationId>1</CorrelationId>
<CorrelationRoleId>0897b554-c791-4a3d-940b-0e2e7c234935</CorrelationRoleId>
<CorrelationType>
<Id>1</Id>
<Name>sample string 2</Name>
</CorrelationType>
<Description>sample string 9</Description>
<DisciplineOrRoleName>sample string 10</DisciplineOrRoleName>
<EndDate>2026-05-26T23:12:58.3388576+02:00</EndDate>
<ExcludeFromDossier>true</ExcludeFromDossier>
<Priority>12</Priority>
<SourceId>2</SourceId>
<SourceName>sample string 3</SourceName>
<SourceRelationName>sample string 4</SourceRelationName>
<StartDate>2026-05-26T23:12:58.3388576+02:00</StartDate>
<TargetId>1</TargetId>
<TargetName>sample string 6</TargetName>
<TargetRelationName>sample string 7</TargetRelationName>
</Correlation>
</ArrayOfCorrelation>