GET PlanCare2Api/Clients/{clientId}/DaytimeActivityMeetingEnrollments?startDate={startDate}&endDate={endDate}

Fetch daytime activity enrollments for client for all meetings in given period.

At least one of these modules is required: DaytimeActivity

Requires 'Start' permission for function DaytimeActivityOverview {16EDE7B1-4F4B-4C01-A7E4-79E73CF6B2E3}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

integer

Required

startDate

date

Required

endDate

date

Required

Body Parameters

None.

Response Information

Resource Description

List of meeting enrollments.

Collection of DaytimeActivityMeetingEnrollment
NameDescriptionTypeAdditional information
Id

Id of the enrollment

globally unique identifier

None.

ClientId

Id of the client

integer

Required

ClientName

Name of the client

string

None.

PresenceId

Current known status of the presence of the client at the meeting

globally unique identifier

Required

Options

Options of the meeting selected by the client

Collection of DaytimeActivityMeetingEnrollmentOption

None.

SubscriptionId

Id of the original sign up of the client on the activity

globally unique identifier

Required

AppointmentId

Id of the apointment of this meeting as known in the client calendar

integer

Required

ParentAppointmentId

Id of the original apointment as known in the client calendar

integer

None.

OccurrenceIndex

OccurrenceIndex of the apointment of the client on the activity

integer

None.

Start

Readonly starttime of the meeting

date

None.

End

Readonly endtime of the meeting

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": "ef6f06a8-b9d5-460f-9f94-e32a6f83ca1b",
    "ClientId": 2,
    "ClientName": "sample string 3",
    "PresenceId": "ea1b0dd4-6e6a-40df-a97f-3408d6ffc046",
    "Options": [
      {
        "$id": "2",
        "Id": "c7f2d55c-62bc-43df-8995-c9ce2ed61ab8",
        "Name": "sample string 2",
        "IsSystem": true,
        "Type": 0,
        "StartTime": "2026-05-26T22:10:17.4191413+02:00",
        "EndTime": "2026-05-26T22:10:17.4191413+02:00",
        "TransportTo": true,
        "TransportBack": true,
        "TransportType": 1,
        "Description": "sample string 2"
      },
      {
        "$ref": "2"
      }
    ],
    "SubscriptionId": "2da262db-9775-4f81-a699-6336578326cf",
    "AppointmentId": 6,
    "ParentAppointmentId": 7,
    "OccurrenceIndex": 8,
    "Start": "2026-05-26T22:10:17.4191413+02:00",
    "End": "2026-05-26T22:10:17.4191413+02:00"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDaytimeActivityMeetingEnrollment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.DaytimeActivity">
  <DaytimeActivityMeetingEnrollment>
    <AppointmentId>6</AppointmentId>
    <ClientId>2</ClientId>
    <ClientName>sample string 3</ClientName>
    <End>2026-05-26T22:10:17.4191413+02:00</End>
    <Id>ef6f06a8-b9d5-460f-9f94-e32a6f83ca1b</Id>
    <OccurrenceIndex>8</OccurrenceIndex>
    <Options>
      <DaytimeActivityMeetingEnrollmentOption>
        <EndTime>2026-05-26T22:10:17.4191413+02:00</EndTime>
        <Id>c7f2d55c-62bc-43df-8995-c9ce2ed61ab8</Id>
        <IsSystem>true</IsSystem>
        <Name>sample string 2</Name>
        <StartTime>2026-05-26T22:10:17.4191413+02:00</StartTime>
        <TransportBack>true</TransportBack>
        <TransportTo>true</TransportTo>
        <TransportType>Group</TransportType>
        <Type>Default</Type>
      </DaytimeActivityMeetingEnrollmentOption>
      <DaytimeActivityMeetingEnrollmentOption>
        <EndTime>2026-05-26T22:10:17.4191413+02:00</EndTime>
        <Id>c7f2d55c-62bc-43df-8995-c9ce2ed61ab8</Id>
        <IsSystem>true</IsSystem>
        <Name>sample string 2</Name>
        <StartTime>2026-05-26T22:10:17.4191413+02:00</StartTime>
        <TransportBack>true</TransportBack>
        <TransportTo>true</TransportTo>
        <TransportType>Group</TransportType>
        <Type>Default</Type>
      </DaytimeActivityMeetingEnrollmentOption>
    </Options>
    <ParentAppointmentId>7</ParentAppointmentId>
    <PresenceId>ea1b0dd4-6e6a-40df-a97f-3408d6ffc046</PresenceId>
    <Start>2026-05-26T22:10:17.4191413+02:00</Start>
    <SubscriptionId>2da262db-9775-4f81-a699-6336578326cf</SubscriptionId>
  </DaytimeActivityMeetingEnrollment>
  <DaytimeActivityMeetingEnrollment>
    <AppointmentId>6</AppointmentId>
    <ClientId>2</ClientId>
    <ClientName>sample string 3</ClientName>
    <End>2026-05-26T22:10:17.4191413+02:00</End>
    <Id>ef6f06a8-b9d5-460f-9f94-e32a6f83ca1b</Id>
    <OccurrenceIndex>8</OccurrenceIndex>
    <Options>
      <DaytimeActivityMeetingEnrollmentOption>
        <EndTime>2026-05-26T22:10:17.4191413+02:00</EndTime>
        <Id>c7f2d55c-62bc-43df-8995-c9ce2ed61ab8</Id>
        <IsSystem>true</IsSystem>
        <Name>sample string 2</Name>
        <StartTime>2026-05-26T22:10:17.4191413+02:00</StartTime>
        <TransportBack>true</TransportBack>
        <TransportTo>true</TransportTo>
        <TransportType>Group</TransportType>
        <Type>Default</Type>
      </DaytimeActivityMeetingEnrollmentOption>
      <DaytimeActivityMeetingEnrollmentOption>
        <EndTime>2026-05-26T22:10:17.4191413+02:00</EndTime>
        <Id>c7f2d55c-62bc-43df-8995-c9ce2ed61ab8</Id>
        <IsSystem>true</IsSystem>
        <Name>sample string 2</Name>
        <StartTime>2026-05-26T22:10:17.4191413+02:00</StartTime>
        <TransportBack>true</TransportBack>
        <TransportTo>true</TransportTo>
        <TransportType>Group</TransportType>
        <Type>Default</Type>
      </DaytimeActivityMeetingEnrollmentOption>
    </Options>
    <ParentAppointmentId>7</ParentAppointmentId>
    <PresenceId>ea1b0dd4-6e6a-40df-a97f-3408d6ffc046</PresenceId>
    <Start>2026-05-26T22:10:17.4191413+02:00</Start>
    <SubscriptionId>2da262db-9775-4f81-a699-6336578326cf</SubscriptionId>
  </DaytimeActivityMeetingEnrollment>
</ArrayOfDaytimeActivityMeetingEnrollment>