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

NameDescriptionTypeAdditional information
id

Id of the daytime activity

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

List of presences

Collection of ActivityPresence
NameDescriptionTypeAdditional information
Id

The internal id of the presence.

globally unique identifier

None

Code

Short human-readable identifier.

string

None

Reason

Additional information.

string

None

Type

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

integer

None

TypeDescription

Description of the type.

string

None

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

None

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": "5cf40962-98bc-4c8f-beaf-9e00c29aa569",
    "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>5cf40962-98bc-4c8f-beaf-9e00c29aa569</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>5cf40962-98bc-4c8f-beaf-9e00c29aa569</Id>
    <IsActive>true</IsActive>
    <Reason>sample string 3</Reason>
    <Type>4</Type>
    <TypeDescription>sample string 5</TypeDescription>
  </ActivityPresence>
</ArrayOfActivityPresence>