GET PlanCare2Api/DaytimeActivities/Activities?dateFrom={dateFrom}&dateUntil={dateUntil}
Fetch all daytime activities in a specified period
Requires 'Start' permission for function DaytimeActivityOverview {16EDE7B1-4F4B-4C01-A7E4-79E73CF6B2E3}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dateFrom |
The start date to obtain activities for |
date |
Required |
| dateUntil |
The end date to obtain activities for |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
List of presences
Collection of Activity| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The internal id of the activity. |
globally unique identifier |
None |
| Name |
Name of the activity. |
string |
None |
| Number |
Number of the activity. |
string |
None |
| Startdate |
Start date of the activity. |
date |
None |
| EndDate |
End date of the activity. |
date |
None |
| ActivityPresence |
Presence options that can be attached to the daytime activity. |
Collection of ActivityPresence |
None |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": "fa596668-52a4-4dd9-a729-5da8960812e3",
"Name": "sample string 2",
"Number": "sample string 3",
"Startdate": "2026-05-26T21:09:53.802248+02:00",
"EndDate": "2026-05-26T21:09:53.802248+02:00",
"ActivityPresence": [
{
"$id": "2",
"Id": "dca488c8-9fdc-47d8-8823-95979fc5d299",
"Code": "sample string 2",
"Reason": "sample string 3",
"Type": 4,
"TypeDescription": "sample string 5",
"CountsForProduction": true,
"IsActive": true
},
{
"$ref": "2"
}
]
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.DaytimeActivity">
<Activity>
<ActivityPresence>
<ActivityPresence>
<Code>sample string 2</Code>
<CountsForProduction>true</CountsForProduction>
<Id>dca488c8-9fdc-47d8-8823-95979fc5d299</Id>
<IsActive>true</IsActive>
<Reason>sample string 3</Reason>
<Type>4</Type>
<TypeDescription>sample string 5</TypeDescription>
</ActivityPresence>
<ActivityPresence>
<Code>sample string 2</Code>
<CountsForProduction>true</CountsForProduction>
<Id>dca488c8-9fdc-47d8-8823-95979fc5d299</Id>
<IsActive>true</IsActive>
<Reason>sample string 3</Reason>
<Type>4</Type>
<TypeDescription>sample string 5</TypeDescription>
</ActivityPresence>
</ActivityPresence>
<EndDate>2026-05-26T21:09:53.802248+02:00</EndDate>
<Id>fa596668-52a4-4dd9-a729-5da8960812e3</Id>
<Name>sample string 2</Name>
<Number>sample string 3</Number>
<Startdate>2026-05-26T21:09:53.802248+02:00</Startdate>
</Activity>
<Activity>
<ActivityPresence>
<ActivityPresence>
<Code>sample string 2</Code>
<CountsForProduction>true</CountsForProduction>
<Id>dca488c8-9fdc-47d8-8823-95979fc5d299</Id>
<IsActive>true</IsActive>
<Reason>sample string 3</Reason>
<Type>4</Type>
<TypeDescription>sample string 5</TypeDescription>
</ActivityPresence>
<ActivityPresence>
<Code>sample string 2</Code>
<CountsForProduction>true</CountsForProduction>
<Id>dca488c8-9fdc-47d8-8823-95979fc5d299</Id>
<IsActive>true</IsActive>
<Reason>sample string 3</Reason>
<Type>4</Type>
<TypeDescription>sample string 5</TypeDescription>
</ActivityPresence>
</ActivityPresence>
<EndDate>2026-05-26T21:09:53.802248+02:00</EndDate>
<Id>fa596668-52a4-4dd9-a729-5da8960812e3</Id>
<Name>sample string 2</Name>
<Number>sample string 3</Number>
<Startdate>2026-05-26T21:09:53.802248+02:00</Startdate>
</Activity>
</ArrayOfActivity>