GET PlanCare2Api/ContactPersons?allowAccessClientPortal={allowAccessClientPortal}

Gets contactpersons

Requires 'Read' permission for function ContactPersonPersonalData {1D8FABC7-C901-48B5-A6B3-3D47FE33810D}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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 clientportal.

boolean

None

PortalEmail

The contactperson's e-mail (username) within the clientportal.

string

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,
    "PortalEmail": "sample string 7"
  },
  {
    "$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>
    <AllowAccessClientPortal>true</AllowAccessClientPortal>
    <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>
    <AllowAccessClientPortal>true</AllowAccessClientPortal>
    <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>