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

None

OccurrenceIndex

OccurrenceIndex of the appointment 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": "cf9e34fd-6a69-451f-9979-cb7840ec89cb",
  "ClientId": 2,
  "ClientName": "sample string 3",
  "PresenceId": "7ff5a065-9a5e-4e17-9d36-182650e2ae6c",
  "Options": [
    {
      "$id": "2",
      "Id": "652b95cf-7434-4e18-a284-d6e8ee9f62ef",
      "Name": "sample string 2",
      "IsSystem": true,
      "Type": 0,
      "StartTime": "2026-05-26T23:12:57.9794659+02:00",
      "EndTime": "2026-05-26T23:12:57.9794659+02:00",
      "TransportTo": true,
      "TransportBack": true,
      "TransportType": 1,
      "Description": "sample string 2"
    },
    {
      "$ref": "2"
    }
  ],
  "SubscriptionId": "5067a7c5-7a3d-4bdf-a759-dc054942658c",
  "AppointmentId": 6,
  "ParentAppointmentId": 7,
  "OccurrenceIndex": 8,
  "Start": "2026-05-26T23:12:57.9794659+02:00",
  "End": "2026-05-26T23:12:57.9794659+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:12:57.9794659+02:00</End>
  <Id>cf9e34fd-6a69-451f-9979-cb7840ec89cb</Id>
  <OccurrenceIndex>8</OccurrenceIndex>
  <Options>
    <DaytimeActivityMeetingEnrollmentOption>
      <EndTime>2026-05-26T23:12:57.9794659+02:00</EndTime>
      <Id>652b95cf-7434-4e18-a284-d6e8ee9f62ef</Id>
      <IsSystem>true</IsSystem>
      <Name>sample string 2</Name>
      <StartTime>2026-05-26T23:12:57.9794659+02:00</StartTime>
      <TransportBack>true</TransportBack>
      <TransportTo>true</TransportTo>
      <TransportType>Group</TransportType>
      <Type>Default</Type>
    </DaytimeActivityMeetingEnrollmentOption>
    <DaytimeActivityMeetingEnrollmentOption>
      <EndTime>2026-05-26T23:12:57.9794659+02:00</EndTime>
      <Id>652b95cf-7434-4e18-a284-d6e8ee9f62ef</Id>
      <IsSystem>true</IsSystem>
      <Name>sample string 2</Name>
      <StartTime>2026-05-26T23:12:57.9794659+02:00</StartTime>
      <TransportBack>true</TransportBack>
      <TransportTo>true</TransportTo>
      <TransportType>Group</TransportType>
      <Type>Default</Type>
    </DaytimeActivityMeetingEnrollmentOption>
  </Options>
  <ParentAppointmentId>7</ParentAppointmentId>
  <PresenceId>7ff5a065-9a5e-4e17-9d36-182650e2ae6c</PresenceId>
  <Start>2026-05-26T23:12:57.9794659+02:00</Start>
  <SubscriptionId>5067a7c5-7a3d-4bdf-a759-dc054942658c</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