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
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.

Request Formats

application/json, text/json

Sample:
{
  "Id": "f0b86e18-24cd-4136-80cb-f9e0ac11c206",
  "ClientId": 2,
  "ClientName": "sample string 3",
  "PresenceId": "dc968a99-faa3-4f99-bef8-f158b10cba5c",
  "Options": [
    {
      "$id": "2",
      "Id": "d161338a-cd63-4f54-bc6b-d836dfc281dd",
      "Name": "sample string 2",
      "IsSystem": true,
      "Type": 0,
      "StartTime": "2026-05-26T22:10:15.9940166+02:00",
      "EndTime": "2026-05-26T22:10:15.9940166+02:00",
      "TransportTo": true,
      "TransportBack": true,
      "TransportType": 1,
      "Description": "sample string 2"
    },
    {
      "$ref": "2"
    }
  ],
  "SubscriptionId": "f6858134-b3d5-4078-b159-3bd291b51278",
  "AppointmentId": 6,
  "ParentAppointmentId": 7,
  "OccurrenceIndex": 8,
  "Start": "2026-05-26T22:10:15.9940166+02:00",
  "End": "2026-05-26T22:10:15.9940166+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-26T22:10:15.9940166+02:00</End>
  <Id>f0b86e18-24cd-4136-80cb-f9e0ac11c206</Id>
  <OccurrenceIndex>8</OccurrenceIndex>
  <Options>
    <DaytimeActivityMeetingEnrollmentOption>
      <EndTime>2026-05-26T22:10:15.9940166+02:00</EndTime>
      <Id>d161338a-cd63-4f54-bc6b-d836dfc281dd</Id>
      <IsSystem>true</IsSystem>
      <Name>sample string 2</Name>
      <StartTime>2026-05-26T22:10:15.9940166+02:00</StartTime>
      <TransportBack>true</TransportBack>
      <TransportTo>true</TransportTo>
      <TransportType>Group</TransportType>
      <Type>Default</Type>
    </DaytimeActivityMeetingEnrollmentOption>
    <DaytimeActivityMeetingEnrollmentOption>
      <EndTime>2026-05-26T22:10:15.9940166+02:00</EndTime>
      <Id>d161338a-cd63-4f54-bc6b-d836dfc281dd</Id>
      <IsSystem>true</IsSystem>
      <Name>sample string 2</Name>
      <StartTime>2026-05-26T22:10:15.9940166+02:00</StartTime>
      <TransportBack>true</TransportBack>
      <TransportTo>true</TransportTo>
      <TransportType>Group</TransportType>
      <Type>Default</Type>
    </DaytimeActivityMeetingEnrollmentOption>
  </Options>
  <ParentAppointmentId>7</ParentAppointmentId>
  <PresenceId>dc968a99-faa3-4f99-bef8-f158b10cba5c</PresenceId>
  <Start>2026-05-26T22:10:15.9940166+02:00</Start>
  <SubscriptionId>f6858134-b3d5-4078-b159-3bd291b51278</SubscriptionId>
</DaytimeActivityMeetingEnrollment>

Response Information

Resource Description

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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.