GET PlanCare2Api/CareRegistration/Defecations?bsn={bsn}&from={from}&maxRecordCount={maxRecordCount}

Gets the defecation registrations of the specified client

Requires 'Read' permission for function MedicalDefecation {A10B7F92-BB2F-4650-945C-C180C5C7B3BC}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bsn

The BSN of the client to obtain the registrations for

string

Required

from

Only defecation registrations created on or from the specified date are returned

date

Required

maxRecordCount

The maximum number of defecation registrations to return

integer

Required

Body Parameters

None.

Response Information

Resource Description

The list of requested defecation registrations

Collection of Defecation
NameDescriptionTypeAdditional information
Remarks

Remarks of the registration

string

None.

DayPart

The value of the choice for ChoiceType 'DEFECATIE DAGDEEL'. This property is for reading purposes only.

string

None.

Aspect

The value of the choice for ChoiceType 'DEFECATIE ASPECT'. This property is for reading purposes only.

string

None.

Remedy

The value of the choice for ChoiceType 'DEFECATIE MIDDEL'. This property is for reading purposes only.

string

None.

Quantity

The value of the choice for ChoiceType 'DEFECATIE HOEVEELHEID'. This property is for reading purposes only.

string

None.

AspectId

References to a Choice of ChoiceType 'DEFECATIE ASPECT'

integer

None.

DayPartId

References to a Choice of ChoiceType 'DEFECATIE DAGDEEL'

integer

None.

QuantityId

References to a Choice of ChoiceType 'DEFECATIE HOEVEELHEID'

integer

None.

RemedyId

References to a Choice of ChoiceType 'DEFECATIE MIDDEL'

integer

None.

Id

The internal id of the registration. Should be 0 for new instance.

integer

Required

EmployeeId

The internal id of the employee who has done the registration. When the EmployeeId is not the same as the logged on employee, then the logged on employee must be authorized in Plancare2 to store information on behalf of the given EmployeeId.

integer

Required

EmployeeName

The name of the employee. This property is for reading purposes only.

string

None.

ClientId

The internal id of the client.

integer

Required

ClientName

The name of the client. This property is for reading purposes only.

string

None.

CreationDate

The date when the registration is created. This property is for reading purposes only.

date

None.

RegistrationDate

The registration date.

date

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Remarks": "sample string 1",
    "DayPart": "sample string 2",
    "Aspect": "sample string 3",
    "Remedy": "sample string 4",
    "Quantity": "sample string 5",
    "AspectId": 1,
    "DayPartId": 1,
    "QuantityId": 1,
    "RemedyId": 1,
    "Id": 6,
    "EmployeeId": 7,
    "EmployeeName": "sample string 8",
    "ClientId": 9,
    "ClientName": "sample string 10",
    "CreationDate": "2026-05-26T23:19:05.95324+02:00",
    "RegistrationDate": "2026-05-26T23:19:05.95324+02:00"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDefecation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.CareRegistration">
  <Defecation>
    <ClientId>9</ClientId>
    <ClientName>sample string 10</ClientName>
    <CreationDate>2026-05-26T23:19:05.95324+02:00</CreationDate>
    <EmployeeId>7</EmployeeId>
    <EmployeeName>sample string 8</EmployeeName>
    <Id>6</Id>
    <RegistrationDate>2026-05-26T23:19:05.95324+02:00</RegistrationDate>
    <Aspect>sample string 3</Aspect>
    <AspectId>1</AspectId>
    <DayPart>sample string 2</DayPart>
    <DayPartId>1</DayPartId>
    <Quantity>sample string 5</Quantity>
    <QuantityId>1</QuantityId>
    <Remarks>sample string 1</Remarks>
    <Remedy>sample string 4</Remedy>
    <RemedyId>1</RemedyId>
  </Defecation>
  <Defecation>
    <ClientId>9</ClientId>
    <ClientName>sample string 10</ClientName>
    <CreationDate>2026-05-26T23:19:05.95324+02:00</CreationDate>
    <EmployeeId>7</EmployeeId>
    <EmployeeName>sample string 8</EmployeeName>
    <Id>6</Id>
    <RegistrationDate>2026-05-26T23:19:05.95324+02:00</RegistrationDate>
    <Aspect>sample string 3</Aspect>
    <AspectId>1</AspectId>
    <DayPart>sample string 2</DayPart>
    <DayPartId>1</DayPartId>
    <Quantity>sample string 5</Quantity>
    <QuantityId>1</QuantityId>
    <Remarks>sample string 1</Remarks>
    <Remedy>sample string 4</Remedy>
    <RemedyId>1</RemedyId>
  </Defecation>
</ArrayOfDefecation>