GET PlanCare2Api/Employees/Current

Gets detail info of the logged on employee

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Detail info of the logged on employee

Employee
Name Description Type Additional information
RelationId

Id of the relation

integer

-

EmployeeId

Id of the employee

integer

-

BSN

Socialsecuritynumber

string

-

FirstName

Firstname of the employee

string

-

LastName

Surname of the employee

string

-

LookupName

Lookupname of the employee

string

-

Prefix

Prefix of the employee

string

-

Gender

Gender of the employee

GenderEnum

-

GenderNumber

Gender number

integer

-

DateOfBirth

Date of birth of the employee

date

-

AccessUserId

Id for the employee to logon with

integer

-

DateOfRemoval

Date of removal of the employee Which can be the date of death or the enddate of the last contract

date

Nullable

RegistrationNumber

External registrationnumber

string

-

WindowsUsername

Single Sign On Username

string

-

EmailAddresses

Email addresses of employee

Collection of string

-

AccessUsername

Username of the employee

string

-

MobilePhoneNumbers

Mobile phone numbers of the employee

Collection of PhoneNumber

-

AutoLoginWithDefaultLoginEmployment

Enable automatic selection of employment during log on

boolean

-

IsAuthorizedForTimeRegistration

Indicator that employee is central authorized for timeregistration

boolean

-

IsServiceAccount

Indicator that employee is a service account

boolean

-

AllowAccessEmployeePortal

Indicates whether the employee is allowed to use the employee-portal.

boolean

-

AllowAccessEmployeePortalStartDate

Optional begin of period when the employee is allowed to use the employee-portal.

date

Nullable

AllowAccessEmployeePortalEndDate

Optional end of period when the employee is allowed to use the employee-portal.

date

Nullable

PortalEmail

The employee's e-mail (username) within the employee-portal.

string

-

IsLocked

Indicates whether the employee has a user account which is locked.

boolean

-

Response Formats

application/json, text/json

Sample:
{
  "RelationId": 1,
  "EmployeeId": 2,
  "BSN": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "LookupName": "sample string 6",
  "Prefix": "sample string 7",
  "Gender": 8,
  "GenderNumber": 8,
  "DateOfBirth": "2026-05-26T23:20:14.6719578+02:00",
  "AccessUserId": 10,
  "DateOfRemoval": "2026-05-26T23:20:14.6719578+02:00",
  "RegistrationNumber": "sample string 11",
  "WindowsUsername": "sample string 12",
  "EmailAddresses": [
    "sample string 1",
    "sample string 2"
  ],
  "AccessUsername": "sample string 13",
  "MobilePhoneNumbers": [
    {
      "$id": "2",
      "Rank": 64,
      "Value": "sample string 1"
    },
    {
      "$ref": "2"
    }
  ],
  "AutoLoginWithDefaultLoginEmployment": true,
  "IsAuthorizedForTimeRegistration": true,
  "IsServiceAccount": true,
  "AllowAccessEmployeePortal": true,
  "AllowAccessEmployeePortalStartDate": "2026-05-26T23:20:14.6719578+02:00",
  "AllowAccessEmployeePortalEndDate": "2026-05-26T23:20:14.6719578+02:00",
  "PortalEmail": "sample string 18",
  "IsLocked": true
}

application/xml, text/xml

Sample:
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Employee">
  <AccessUserId>10</AccessUserId>
  <AccessUsername>sample string 13</AccessUsername>
  <AllowAccessEmployeePortal>true</AllowAccessEmployeePortal>
  <AllowAccessEmployeePortalEndDate>2026-05-26T23:20:14.6719578+02:00</AllowAccessEmployeePortalEndDate>
  <AllowAccessEmployeePortalStartDate>2026-05-26T23:20:14.6719578+02:00</AllowAccessEmployeePortalStartDate>
  <AutoLoginWithDefaultLoginEmployment>true</AutoLoginWithDefaultLoginEmployment>
  <BSN>sample string 3</BSN>
  <DateOfBirth>2026-05-26T23:20:14.6719578+02:00</DateOfBirth>
  <DateOfRemoval>2026-05-26T23:20:14.6719578+02:00</DateOfRemoval>
  <EmailAddresses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </EmailAddresses>
  <EmployeeId>2</EmployeeId>
  <FirstName>sample string 4</FirstName>
  <GenderNumber>8</GenderNumber>
  <IsAuthorizedForTimeRegistration>true</IsAuthorizedForTimeRegistration>
  <IsLocked>true</IsLocked>
  <IsServiceAccount>true</IsServiceAccount>
  <LastName>sample string 5</LastName>
  <LookupName>sample string 6</LookupName>
  <MobilePhoneNumbers>
    <PhoneNumber>
      <Rank>64</Rank>
      <Value>sample string 1</Value>
    </PhoneNumber>
    <PhoneNumber>
      <Rank>64</Rank>
      <Value>sample string 1</Value>
    </PhoneNumber>
  </MobilePhoneNumbers>
  <PortalEmail>sample string 18</PortalEmail>
  <Prefix>sample string 7</Prefix>
  <RegistrationNumber>sample string 11</RegistrationNumber>
  <RelationId>1</RelationId>
  <WindowsUsername>sample string 12</WindowsUsername>
</Employee>