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

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

Request Information

URI Parameters

Name Description Type Additional information
clientId

integer

Required

referenceDate

The reference date

date

Required

Body Parameters

None.

Response Information

Resource Description

Returns a list of active intake periods.

Collection of IntakePeriodV2
Name Description Type Additional information
ClientId

The id of the client

integer

-

StartDate

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

date

-

EndDate

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

date

Nullable

Status

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

string

-

Contracts

A collection of contracts valid on the reference date

Collection of IntakeContract

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ClientId": 1,
    "StartDate": "2026-05-26T22:06:05.5612549+02:00",
    "EndDate": "2026-05-26T22:06:05.5612549+02:00",
    "Status": "sample string 3",
    "Contracts": [
      {
        "$id": "2",
        "ContractId": 1,
        "ContractDescription": "sample string 2",
        "ContractType": "sample string 3",
        "ContractStartDate": "2026-05-26T22:06:05.5612549+02:00",
        "ContractEndDate": "2026-05-26T22:06:05.5612549+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-26T22:06:05.5612549+02:00</ContractEndDate>
        <ContractId>1</ContractId>
        <ContractStartDate>2026-05-26T22:06:05.5612549+02:00</ContractStartDate>
        <ContractType>sample string 3</ContractType>
      </IntakeContract>
      <IntakeContract>
        <ContractDescription>sample string 2</ContractDescription>
        <ContractEndDate>2026-05-26T22:06:05.5612549+02:00</ContractEndDate>
        <ContractId>1</ContractId>
        <ContractStartDate>2026-05-26T22:06:05.5612549+02:00</ContractStartDate>
        <ContractType>sample string 3</ContractType>
      </IntakeContract>
    </Contracts>
    <EndDate>2026-05-26T22:06:05.5612549+02:00</EndDate>
    <StartDate>2026-05-26T22:06:05.5612549+02:00</StartDate>
    <Status>sample string 3</Status>
  </IntakePeriodV2>
  <IntakePeriodV2>
    <ClientId>1</ClientId>
    <Contracts>
      <IntakeContract>
        <ContractDescription>sample string 2</ContractDescription>
        <ContractEndDate>2026-05-26T22:06:05.5612549+02:00</ContractEndDate>
        <ContractId>1</ContractId>
        <ContractStartDate>2026-05-26T22:06:05.5612549+02:00</ContractStartDate>
        <ContractType>sample string 3</ContractType>
      </IntakeContract>
      <IntakeContract>
        <ContractDescription>sample string 2</ContractDescription>
        <ContractEndDate>2026-05-26T22:06:05.5612549+02:00</ContractEndDate>
        <ContractId>1</ContractId>
        <ContractStartDate>2026-05-26T22:06:05.5612549+02:00</ContractStartDate>
        <ContractType>sample string 3</ContractType>
      </IntakeContract>
    </Contracts>
    <EndDate>2026-05-26T22:06:05.5612549+02:00</EndDate>
    <StartDate>2026-05-26T22:06:05.5612549+02:00</StartDate>
    <Status>sample string 3</Status>
  </IntakePeriodV2>
</ArrayOfIntakePeriodV2>