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

-

Name

Name of the activity.

string

-

Number

Number of the activity.

string

-

Startdate

Start date of the activity.

date

-

EndDate

End date of the activity.

date

Nullable

ActivityPresence

Presence options that can be attached to the daytime activity.

Collection of ActivityPresence

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": "aa2af94f-bbc7-4851-bea5-2485ec6adbf1",
    "Name": "sample string 2",
    "Number": "sample string 3",
    "Startdate": "2026-05-26T22:07:50.9398346+02:00",
    "EndDate": "2026-05-26T22:07:50.9398346+02:00",
    "ActivityPresence": [
      {
        "$id": "2",
        "Id": "c6332347-cac8-444a-987d-d0d4064041f4",
        "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>c6332347-cac8-444a-987d-d0d4064041f4</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>c6332347-cac8-444a-987d-d0d4064041f4</Id>
        <IsActive>true</IsActive>
        <Reason>sample string 3</Reason>
        <Type>4</Type>
        <TypeDescription>sample string 5</TypeDescription>
      </ActivityPresence>
    </ActivityPresence>
    <EndDate>2026-05-26T22:07:50.9398346+02:00</EndDate>
    <Id>aa2af94f-bbc7-4851-bea5-2485ec6adbf1</Id>
    <Name>sample string 2</Name>
    <Number>sample string 3</Number>
    <Startdate>2026-05-26T22:07:50.9398346+02:00</Startdate>
  </Activity>
  <Activity>
    <ActivityPresence>
      <ActivityPresence>
        <Code>sample string 2</Code>
        <CountsForProduction>true</CountsForProduction>
        <Id>c6332347-cac8-444a-987d-d0d4064041f4</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>c6332347-cac8-444a-987d-d0d4064041f4</Id>
        <IsActive>true</IsActive>
        <Reason>sample string 3</Reason>
        <Type>4</Type>
        <TypeDescription>sample string 5</TypeDescription>
      </ActivityPresence>
    </ActivityPresence>
    <EndDate>2026-05-26T22:07:50.9398346+02:00</EndDate>
    <Id>aa2af94f-bbc7-4851-bea5-2485ec6adbf1</Id>
    <Name>sample string 2</Name>
    <Number>sample string 3</Number>
    <Startdate>2026-05-26T22:07:50.9398346+02:00</Startdate>
  </Activity>
</ArrayOfActivity>