GET PlanCare2Api/DaytimeActivities/{id}/presences

Fetch the possible presences for a daytime activity meeting

Requires 'Start' permission for function DaytimeActivityOverview {16EDE7B1-4F4B-4C01-A7E4-79E73CF6B2E3}

Request Information

URI Parameters

Name Description Type Additional information
id

Id of the daytime activity

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

List of presences

Collection of ActivityPresence
Name Description Type Additional information
Id

The internal id of the presence.

globally unique identifier

-

Code

Short human-readable identifier.

string

-

Reason

Additional information.

string

-

Type

The type indicates whether the presence represents presence (0) or absence(1).

integer

-

TypeDescription

Description of the type.

string

-

CountsForProduction

Whether the presence counts towards production.

boolean

Deprecated (unavailable from 21.01.1P): No longer in use. Will be removed in a future version of the API.

IsActive

Whether the presence can still be chosen.

boolean

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": "370c3188-a913-41b8-8aff-9acbd8470021",
    "Code": "sample string 2",
    "Reason": "sample string 3",
    "Type": 4,
    "TypeDescription": "sample string 5",
    "CountsForProduction": true,
    "IsActive": true
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfActivityPresence xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.DaytimeActivity">
  <ActivityPresence>
    <Code>sample string 2</Code>
    <CountsForProduction>true</CountsForProduction>
    <Id>370c3188-a913-41b8-8aff-9acbd8470021</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>370c3188-a913-41b8-8aff-9acbd8470021</Id>
    <IsActive>true</IsActive>
    <Reason>sample string 3</Reason>
    <Type>4</Type>
    <TypeDescription>sample string 5</TypeDescription>
  </ActivityPresence>
</ArrayOfActivityPresence>