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": "a82bc9f3-9c77-46ca-a80e-bee623eae0a7",
"Name": "sample string 2",
"Number": "sample string 3",
"Startdate": "2026-05-26T23:19:17.7016306+02:00",
"EndDate": "2026-05-26T23:19:17.7016306+02:00",
"ActivityPresence": [
{
"$id": "2",
"Id": "c51a8ccd-dfd6-411f-b46f-b63ea6f36640",
"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>c51a8ccd-dfd6-411f-b46f-b63ea6f36640</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>c51a8ccd-dfd6-411f-b46f-b63ea6f36640</Id>
<IsActive>true</IsActive>
<Reason>sample string 3</Reason>
<Type>4</Type>
<TypeDescription>sample string 5</TypeDescription>
</ActivityPresence>
</ActivityPresence>
<EndDate>2026-05-26T23:19:17.7016306+02:00</EndDate>
<Id>a82bc9f3-9c77-46ca-a80e-bee623eae0a7</Id>
<Name>sample string 2</Name>
<Number>sample string 3</Number>
<Startdate>2026-05-26T23:19:17.7016306+02:00</Startdate>
</Activity>
<Activity>
<ActivityPresence>
<ActivityPresence>
<Code>sample string 2</Code>
<CountsForProduction>true</CountsForProduction>
<Id>c51a8ccd-dfd6-411f-b46f-b63ea6f36640</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>c51a8ccd-dfd6-411f-b46f-b63ea6f36640</Id>
<IsActive>true</IsActive>
<Reason>sample string 3</Reason>
<Type>4</Type>
<TypeDescription>sample string 5</TypeDescription>
</ActivityPresence>
</ActivityPresence>
<EndDate>2026-05-26T23:19:17.7016306+02:00</EndDate>
<Id>a82bc9f3-9c77-46ca-a80e-bee623eae0a7</Id>
<Name>sample string 2</Name>
<Number>sample string 3</Number>
<Startdate>2026-05-26T23:19:17.7016306+02:00</Startdate>
</Activity>
</ArrayOfActivity>