POST PlanCare2Api/DaytimeActivity/MeetingSeries/Enrollments

Save a new enrollment occurrence to a daytime activity meeting.

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

Request Information

URI Parameters

None.

Body Parameters

New meeting enrollment occurrence

DaytimeActivityMeetingEnrollment
Name Description Type Additional information
Id

Id of the enrollment

globally unique identifier

-

ClientId

Id of the client

integer

Required

ClientName

Name of the client

string

-

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

-

SubscriptionId

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

globally unique identifier

Required

AppointmentId

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

integer

Required

ParentAppointmentId

Id of the original appointment as known in the client calendar

integer

-

OccurrenceIndex

OccurrenceIndex of the appointment of the client on the activity

integer

-

Start

Readonly starttime of the meeting

date

-

End

Readonly endtime of the meeting

date

-

Request Formats

application/json, text/json

Sample:
{
  "Id": "684a4de5-d4ee-42e6-b212-deb79ef6fb77",
  "ClientId": 2,
  "ClientName": "sample string 3",
  "PresenceId": "f14561a2-1dbd-442b-95f7-2b52e38dbaba",
  "Options": [
    {
      "$id": "2",
      "Id": "f95fef33-478d-45cc-b7d8-2dcc96c74ef1",
      "Name": "sample string 2",
      "IsSystem": true,
      "Type": 0,
      "StartTime": "2026-05-26T23:13:14.1969795+02:00",
      "EndTime": "2026-05-26T23:13:14.1969795+02:00",
      "TransportTo": true,
      "TransportBack": true,
      "TransportType": 1,
      "Description": "sample string 2"
    },
    {
      "$ref": "2"
    }
  ],
  "SubscriptionId": "a1617997-040a-4759-b929-c3d1a19f6761",
  "AppointmentId": 6,
  "ParentAppointmentId": 7,
  "OccurrenceIndex": 8,
  "Start": "2026-05-26T23:13:14.1969795+02:00",
  "End": "2026-05-26T23:13:14.1969795+02:00"
}

application/xml, text/xml

Sample:
<DaytimeActivityMeetingEnrollment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.DaytimeActivity">
  <AppointmentId>6</AppointmentId>
  <ClientId>2</ClientId>
  <ClientName>sample string 3</ClientName>
  <End>2026-05-26T23:13:14.1969795+02:00</End>
  <Id>684a4de5-d4ee-42e6-b212-deb79ef6fb77</Id>
  <OccurrenceIndex>8</OccurrenceIndex>
  <Options>
    <DaytimeActivityMeetingEnrollmentOption>
      <EndTime>2026-05-26T23:13:14.1969795+02:00</EndTime>
      <Id>f95fef33-478d-45cc-b7d8-2dcc96c74ef1</Id>
      <IsSystem>true</IsSystem>
      <Name>sample string 2</Name>
      <StartTime>2026-05-26T23:13:14.1969795+02:00</StartTime>
      <TransportBack>true</TransportBack>
      <TransportTo>true</TransportTo>
      <TransportType>Group</TransportType>
      <Type>Default</Type>
    </DaytimeActivityMeetingEnrollmentOption>
    <DaytimeActivityMeetingEnrollmentOption>
      <EndTime>2026-05-26T23:13:14.1969795+02:00</EndTime>
      <Id>f95fef33-478d-45cc-b7d8-2dcc96c74ef1</Id>
      <IsSystem>true</IsSystem>
      <Name>sample string 2</Name>
      <StartTime>2026-05-26T23:13:14.1969795+02:00</StartTime>
      <TransportBack>true</TransportBack>
      <TransportTo>true</TransportTo>
      <TransportType>Group</TransportType>
      <Type>Default</Type>
    </DaytimeActivityMeetingEnrollmentOption>
  </Options>
  <ParentAppointmentId>7</ParentAppointmentId>
  <PresenceId>f14561a2-1dbd-442b-95f7-2b52e38dbaba</PresenceId>
  <Start>2026-05-26T23:13:14.1969795+02:00</Start>
  <SubscriptionId>a1617997-040a-4759-b929-c3d1a19f6761</SubscriptionId>
</DaytimeActivityMeetingEnrollment>

Response Information

Resource Description

Daytime activity meeting enrollment occurrence. Created or BadRequest if enrollment occurrence is not valid.

HttpResponseMessage
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-