GET PlanCare2Api/Intakes/IntakePeriods/ActiveV2?referenceDate={referenceDate}

Returns a list of active intake periods or active contracts without an active period.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
referenceDate

The reference date

date

Required

Body Parameters

None.

Response Information

Resource Description

Returns list of active intake periods.

Collection of IntakePeriodV2
NameDescriptionTypeAdditional information
ClientId

The id of the client

integer

None

StartDate

The startdate of the intake period (or contract startdate if no active intake period exists)

date

None

EndDate

The enddate of the intake period (or contract enddate if no active intake period exists)

date

None

Status

The status of the intake period (or "Contract zonder intakeperiode" if no active intake period exists)

string

None

Contracts

A collection of contracts valid on the reference date

Collection of IntakeContract

None

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ClientId": 1,
    "StartDate": "2026-05-26T21:57:42.7754046+02:00",
    "EndDate": "2026-05-26T21:57:42.7754046+02:00",
    "Status": "sample string 3",
    "Contracts": [
      {
        "$id": "2",
        "ContractId": 1,
        "ContractDescription": "sample string 2",
        "ContractType": "sample string 3",
        "ContractStartDate": "2026-05-26T21:57:42.7754046+02:00",
        "ContractEndDate": "2026-05-26T21:57:42.7754046+02:00"
      },
      {
        "$ref": "2"
      }
    ]
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfIntakePeriodV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.TimeSheet">
  <IntakePeriodV2>
    <ClientId>1</ClientId>
    <Contracts>
      <IntakeContract>
        <ContractDescription>sample string 2</ContractDescription>
        <ContractEndDate>2026-05-26T21:57:42.7754046+02:00</ContractEndDate>
        <ContractId>1</ContractId>
        <ContractStartDate>2026-05-26T21:57:42.7754046+02:00</ContractStartDate>
        <ContractType>sample string 3</ContractType>
      </IntakeContract>
      <IntakeContract>
        <ContractDescription>sample string 2</ContractDescription>
        <ContractEndDate>2026-05-26T21:57:42.7754046+02:00</ContractEndDate>
        <ContractId>1</ContractId>
        <ContractStartDate>2026-05-26T21:57:42.7754046+02:00</ContractStartDate>
        <ContractType>sample string 3</ContractType>
      </IntakeContract>
    </Contracts>
    <EndDate>2026-05-26T21:57:42.7754046+02:00</EndDate>
    <StartDate>2026-05-26T21:57:42.7754046+02:00</StartDate>
    <Status>sample string 3</Status>
  </IntakePeriodV2>
  <IntakePeriodV2>
    <ClientId>1</ClientId>
    <Contracts>
      <IntakeContract>
        <ContractDescription>sample string 2</ContractDescription>
        <ContractEndDate>2026-05-26T21:57:42.7754046+02:00</ContractEndDate>
        <ContractId>1</ContractId>
        <ContractStartDate>2026-05-26T21:57:42.7754046+02:00</ContractStartDate>
        <ContractType>sample string 3</ContractType>
      </IntakeContract>
      <IntakeContract>
        <ContractDescription>sample string 2</ContractDescription>
        <ContractEndDate>2026-05-26T21:57:42.7754046+02:00</ContractEndDate>
        <ContractId>1</ContractId>
        <ContractStartDate>2026-05-26T21:57:42.7754046+02:00</ContractStartDate>
        <ContractType>sample string 3</ContractType>
      </IntakeContract>
    </Contracts>
    <EndDate>2026-05-26T21:57:42.7754046+02:00</EndDate>
    <StartDate>2026-05-26T21:57:42.7754046+02:00</StartDate>
    <Status>sample string 3</Status>
  </IntakePeriodV2>
</ArrayOfIntakePeriodV2>