GET PlanCare2Api/ContactPersons?allowAccessClientPortal={allowAccessClientPortal}
Gets contactpersons
Requires 'Read' permission for function ContactPersonPersonalData {1D8FABC7-C901-48B5-A6B3-3D47FE33810D}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| allowAccessClientPortal |
Indicates whether the contactperson is allowed client portal access. |
boolean |
None |
Body Parameters
None.
Response Information
Resource Description
List of contactpersons
Collection of ContactPersonLookup| Name | Description | Type | Additional information |
|---|---|---|---|
| RelationId |
RelationId |
integer |
None |
| FirstName |
FirstName |
string |
None |
| LastName |
LastName |
string |
None |
| NickName |
NickName |
string |
None |
| LookupName |
LookupName |
string |
None |
| AllowAccessClientPortal |
Indicates whether the contactperson is allowed to use the client-portal. |
boolean |
None |
| AllowAccessClientPortalStartDate |
Optional begin of period when the contactperson is allowed to use the client-portal. |
date |
None |
| AllowAccessClientPortalEndDate |
Optional end of period when the contactperson is allowed to use the client-portal. |
date |
None |
| PortalEmail |
The contactperson's e-mail (username) within the client-portal. |
string |
None |
| AccessUserId |
AccessUserId of the contactperson. |
integer |
None |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"RelationId": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"NickName": "sample string 4",
"LookupName": "sample string 5",
"AllowAccessClientPortal": true,
"AllowAccessClientPortalStartDate": "2026-05-26T21:09:05.7461835+02:00",
"AllowAccessClientPortalEndDate": "2026-05-26T21:09:05.7461835+02:00",
"PortalEmail": "sample string 7",
"AccessUserId": 1
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfContactPersonLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.ContactPerson">
<ContactPersonLookup>
<AccessUserId>1</AccessUserId>
<AllowAccessClientPortal>true</AllowAccessClientPortal>
<AllowAccessClientPortalEndDate>2026-05-26T21:09:05.7461835+02:00</AllowAccessClientPortalEndDate>
<AllowAccessClientPortalStartDate>2026-05-26T21:09:05.7461835+02:00</AllowAccessClientPortalStartDate>
<FirstName>sample string 2</FirstName>
<LastName>sample string 3</LastName>
<LookupName>sample string 5</LookupName>
<NickName>sample string 4</NickName>
<PortalEmail>sample string 7</PortalEmail>
<RelationId>1</RelationId>
</ContactPersonLookup>
<ContactPersonLookup>
<AccessUserId>1</AccessUserId>
<AllowAccessClientPortal>true</AllowAccessClientPortal>
<AllowAccessClientPortalEndDate>2026-05-26T21:09:05.7461835+02:00</AllowAccessClientPortalEndDate>
<AllowAccessClientPortalStartDate>2026-05-26T21:09:05.7461835+02:00</AllowAccessClientPortalStartDate>
<FirstName>sample string 2</FirstName>
<LastName>sample string 3</LastName>
<LookupName>sample string 5</LookupName>
<NickName>sample string 4</NickName>
<PortalEmail>sample string 7</PortalEmail>
<RelationId>1</RelationId>
</ContactPersonLookup>
</ArrayOfContactPersonLookup>