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: 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": "ee85560f-5f55-4b38-95a8-8a6ab18b9fd3",
    "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>ee85560f-5f55-4b38-95a8-8a6ab18b9fd3</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>ee85560f-5f55-4b38-95a8-8a6ab18b9fd3</Id>
    <IsActive>true</IsActive>
    <Reason>sample string 3</Reason>
    <Type>4</Type>
    <TypeDescription>sample string 5</TypeDescription>
  </ActivityPresence>
</ArrayOfActivityPresence>