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

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "f65b4a40-e4b2-4c82-b746-0d6bf34e266d",
    "Name": "sample string 2",
    "Number": "sample string 3",
    "Startdate": "2026-05-26T23:12:57.4325711+02:00",
    "EndDate": "2026-05-26T23:12:57.4325711+02:00",
    "ActivityPresence": [
      {
        "$id": "2",
        "Id": "5f2b59ef-38f3-4d34-ae96-a3436ede23d4",
        "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>5f2b59ef-38f3-4d34-ae96-a3436ede23d4</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>5f2b59ef-38f3-4d34-ae96-a3436ede23d4</Id>
        <IsActive>true</IsActive>
        <Reason>sample string 3</Reason>
        <Type>4</Type>
        <TypeDescription>sample string 5</TypeDescription>
      </ActivityPresence>
    </ActivityPresence>
    <EndDate>2026-05-26T23:12:57.4325711+02:00</EndDate>
    <Id>f65b4a40-e4b2-4c82-b746-0d6bf34e266d</Id>
    <Name>sample string 2</Name>
    <Number>sample string 3</Number>
    <Startdate>2026-05-26T23:12:57.4325711+02:00</Startdate>
  </Activity>
  <Activity>
    <ActivityPresence>
      <ActivityPresence>
        <Code>sample string 2</Code>
        <CountsForProduction>true</CountsForProduction>
        <Id>5f2b59ef-38f3-4d34-ae96-a3436ede23d4</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>5f2b59ef-38f3-4d34-ae96-a3436ede23d4</Id>
        <IsActive>true</IsActive>
        <Reason>sample string 3</Reason>
        <Type>4</Type>
        <TypeDescription>sample string 5</TypeDescription>
      </ActivityPresence>
    </ActivityPresence>
    <EndDate>2026-05-26T23:12:57.4325711+02:00</EndDate>
    <Id>f65b4a40-e4b2-4c82-b746-0d6bf34e266d</Id>
    <Name>sample string 2</Name>
    <Number>sample string 3</Number>
    <Startdate>2026-05-26T23:12:57.4325711+02:00</Startdate>
  </Activity>
</ArrayOfActivity>