POST PlanCare2Api/DaytimeActivity/MeetingSeries/Enrollments/ChangeOfDaytimeActivityMeetingEnrollment

Update an existing enrollment occurrence of a daytime activity meeting.

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

Request Information

URI Parameters

None.

Body Parameters

Existing meeting enrollment occurrence

ChangeOfDaytimeActivityMeetingEnrollment
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": "23673fe6-6500-49c4-b36b-5289b103d2cb",
  "ClientId": 2,
  "ClientName": "sample string 3",
  "PresenceId": "7f33c857-eb47-4bf6-bb71-2fd60dfe45cf",
  "Options": [
    {
      "$id": "2",
      "Id": "1fe16a56-4ccd-4ffc-996d-36a61b5f59db",
      "Name": "sample string 2",
      "IsSystem": true,
      "Type": 0,
      "StartTime": "2026-05-26T21:03:43.6644341+02:00",
      "EndTime": "2026-05-26T21:03:43.6644341+02:00",
      "TransportTo": true,
      "TransportBack": true,
      "TransportType": 1,
      "Description": "sample string 2"
    },
    {
      "$ref": "2"
    }
  ],
  "SubscriptionId": "49789763-d6d0-479a-8ec3-a5ad0e8d6aa0",
  "AppointmentId": 6,
  "ParentAppointmentId": 7,
  "OccurrenceIndex": 8,
  "Start": "2026-05-26T21:03:43.6644341+02:00",
  "End": "2026-05-26T21:03:43.6644341+02:00"
}

application/xml, text/xml

Sample:
<ChangeOfDaytimeActivityMeetingEnrollment 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-26T21:03:43.6644341+02:00</End>
  <Id>23673fe6-6500-49c4-b36b-5289b103d2cb</Id>
  <OccurrenceIndex>8</OccurrenceIndex>
  <Options>
    <DaytimeActivityMeetingEnrollmentOption>
      <EndTime>2026-05-26T21:03:43.6644341+02:00</EndTime>
      <Id>1fe16a56-4ccd-4ffc-996d-36a61b5f59db</Id>
      <IsSystem>true</IsSystem>
      <Name>sample string 2</Name>
      <StartTime>2026-05-26T21:03:43.6644341+02:00</StartTime>
      <TransportBack>true</TransportBack>
      <TransportTo>true</TransportTo>
      <TransportType>Group</TransportType>
      <Type>Default</Type>
    </DaytimeActivityMeetingEnrollmentOption>
    <DaytimeActivityMeetingEnrollmentOption>
      <EndTime>2026-05-26T21:03:43.6644341+02:00</EndTime>
      <Id>1fe16a56-4ccd-4ffc-996d-36a61b5f59db</Id>
      <IsSystem>true</IsSystem>
      <Name>sample string 2</Name>
      <StartTime>2026-05-26T21:03:43.6644341+02:00</StartTime>
      <TransportBack>true</TransportBack>
      <TransportTo>true</TransportTo>
      <TransportType>Group</TransportType>
      <Type>Default</Type>
    </DaytimeActivityMeetingEnrollmentOption>
  </Options>
  <ParentAppointmentId>7</ParentAppointmentId>
  <PresenceId>7f33c857-eb47-4bf6-bb71-2fd60dfe45cf</PresenceId>
  <Start>2026-05-26T21:03:43.6644341+02:00</Start>
  <SubscriptionId>49789763-d6d0-479a-8ec3-a5ad0e8d6aa0</SubscriptionId>
</ChangeOfDaytimeActivityMeetingEnrollment>

Response Information

Resource Description

Modified daytime activity meeting enrollment occurrence. OK 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.