GET PlanCare2Api/DynamicData/Employees?referenceDate={referenceDate}

Gets detail info of all employees active on referenceDate with a valid Contract of Service on referenceDate. Used by the PlanCare HRM Connector/Flex autorization module

Request Information

URI Parameters

Name Description Type Additional information
referenceDate

Date employees have to be active

date

Required

Body Parameters

None.

Response Information

Resource Description

A list of active employees on given date

Collection of EmployeesResult
Name Description Type Additional information
Relationid

Id of the relation

integer

Nullable

Employeeid

Id of the employee

integer

Nullable

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, 0 = Undefined, 1 = Male, 2 = Female

integer

Nullable

Dateofbirth

Date of birth of the employee

date

Nullable

Accessuserid

Id for the employee to logon with

integer

Nullable

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

string

-

Accessusername

Username of the employee

string

-

Mobilephonenumbers

Mobile phone numbers of the employee

string

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Relationid": 1,
    "Employeeid": 1,
    "BSN": "sample string 1",
    "Firstname": "sample string 2",
    "Lastname": "sample string 3",
    "Lookupname": "sample string 4",
    "Prefix": "sample string 5",
    "Gender": 1,
    "Dateofbirth": "2026-05-26T21:07:34.5977595+02:00",
    "Accessuserid": 1,
    "Dateofremoval": "2026-05-26T21:07:34.5977595+02:00",
    "Registrationnumber": "sample string 6",
    "Windowsusername": "sample string 7",
    "Emailaddresses": "sample string 8",
    "Accessusername": "sample string 9",
    "Mobilephonenumbers": "sample string 10"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDynamicDataController.EmployeesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Controllers">
  <DynamicDataController.EmployeesResult>
    <Accessuserid>1</Accessuserid>
    <Accessusername>sample string 9</Accessusername>
    <BSN>sample string 1</BSN>
    <Dateofbirth>2026-05-26T21:07:34.5977595+02:00</Dateofbirth>
    <Dateofremoval>2026-05-26T21:07:34.5977595+02:00</Dateofremoval>
    <Emailaddresses>sample string 8</Emailaddresses>
    <Employeeid>1</Employeeid>
    <Firstname>sample string 2</Firstname>
    <Gender>1</Gender>
    <Lastname>sample string 3</Lastname>
    <Lookupname>sample string 4</Lookupname>
    <Mobilephonenumbers>sample string 10</Mobilephonenumbers>
    <Prefix>sample string 5</Prefix>
    <Registrationnumber>sample string 6</Registrationnumber>
    <Relationid>1</Relationid>
    <Windowsusername>sample string 7</Windowsusername>
  </DynamicDataController.EmployeesResult>
  <DynamicDataController.EmployeesResult>
    <Accessuserid>1</Accessuserid>
    <Accessusername>sample string 9</Accessusername>
    <BSN>sample string 1</BSN>
    <Dateofbirth>2026-05-26T21:07:34.5977595+02:00</Dateofbirth>
    <Dateofremoval>2026-05-26T21:07:34.5977595+02:00</Dateofremoval>
    <Emailaddresses>sample string 8</Emailaddresses>
    <Employeeid>1</Employeeid>
    <Firstname>sample string 2</Firstname>
    <Gender>1</Gender>
    <Lastname>sample string 3</Lastname>
    <Lookupname>sample string 4</Lookupname>
    <Mobilephonenumbers>sample string 10</Mobilephonenumbers>
    <Prefix>sample string 5</Prefix>
    <Registrationnumber>sample string 6</Registrationnumber>
    <Relationid>1</Relationid>
    <Windowsusername>sample string 7</Windowsusername>
  </DynamicDataController.EmployeesResult>
</ArrayOfDynamicDataController.EmployeesResult>