POST PlanCare2Api/DaytimeActivity/MeetingSeries/Subscriptions
Save a new subscription 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 subscription
DaytimeActivityMeetingSubscription| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id of the subscription |
globally unique identifier |
None |
| ClientId |
Id of the client |
integer |
Required |
| MeetingId |
The id of the meeting. |
globally unique identifier |
Required |
| Options |
Options of the subscription selected by the client. |
Collection of DaytimeActivityMeetingEnrollmentOption |
None |
| Start |
Start time of the subscription. |
date |
Required |
| End |
End time of the subscription. |
date |
Required |
| Remarks |
Remarks of the subscription. |
string |
None |
| PresenceReasonId |
Presence of the subscription. |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": "ffbbf109-f3fe-4ae3-9582-211d0cbae940",
"ClientId": 2,
"MeetingId": "ec96a2e4-31a6-46b6-82c4-f8df99a92640",
"Options": [
{
"$id": "2",
"Id": "4f0bd7d6-a542-4369-a6fe-c83a08a3c330",
"Name": "sample string 2",
"IsSystem": true,
"Type": 0,
"StartTime": "2026-05-26T21:10:15.0252979+02:00",
"EndTime": "2026-05-26T21:10:15.0252979+02:00",
"TransportTo": true,
"TransportBack": true,
"TransportType": 1,
"Description": "sample string 2"
},
{
"$ref": "2"
}
],
"Start": "2026-05-26T21:10:15.0252979+02:00",
"End": "2026-05-26T21:10:15.0252979+02:00",
"Remarks": "sample string 6",
"PresenceReasonId": "a00f0cba-d621-491e-9df5-9e42a35d6d5d"
}
application/xml, text/xml
Sample:
<DaytimeActivityMeetingSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.DaytimeActivity">
<ClientId>2</ClientId>
<End>2026-05-26T21:10:15.0252979+02:00</End>
<Id>ffbbf109-f3fe-4ae3-9582-211d0cbae940</Id>
<MeetingId>ec96a2e4-31a6-46b6-82c4-f8df99a92640</MeetingId>
<Options>
<DaytimeActivityMeetingEnrollmentOption>
<EndTime>2026-05-26T21:10:15.0252979+02:00</EndTime>
<Id>4f0bd7d6-a542-4369-a6fe-c83a08a3c330</Id>
<IsSystem>true</IsSystem>
<Name>sample string 2</Name>
<StartTime>2026-05-26T21:10:15.0252979+02:00</StartTime>
<TransportBack>true</TransportBack>
<TransportTo>true</TransportTo>
<TransportType>Group</TransportType>
<Type>Default</Type>
</DaytimeActivityMeetingEnrollmentOption>
<DaytimeActivityMeetingEnrollmentOption>
<EndTime>2026-05-26T21:10:15.0252979+02:00</EndTime>
<Id>4f0bd7d6-a542-4369-a6fe-c83a08a3c330</Id>
<IsSystem>true</IsSystem>
<Name>sample string 2</Name>
<StartTime>2026-05-26T21:10:15.0252979+02:00</StartTime>
<TransportBack>true</TransportBack>
<TransportTo>true</TransportTo>
<TransportType>Group</TransportType>
<Type>Default</Type>
</DaytimeActivityMeetingEnrollmentOption>
</Options>
<PresenceReasonId>a00f0cba-d621-491e-9df5-9e42a35d6d5d</PresenceReasonId>
<Remarks>sample string 6</Remarks>
<Start>2026-05-26T21:10:15.0252979+02:00</Start>
</DaytimeActivityMeetingSubscription>
Response Information
Resource Description
Daytime activity meeting subscription. Created or BadRequest if enrollment is not valid.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None |
|
| Content | HttpContent |
None |
|
| StatusCode | HttpStatusCode |
None |
|
| ReasonPhrase | string |
None |
|
| Headers | Collection of Object |
None |
|
| RequestMessage | HttpRequestMessage |
None |
|
| IsSuccessStatusCode | boolean |
None |