POST PlanCare2Api/CareRegistration/Defecations/ChangeOfDefecations

Stores a defecation instance

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

Request Information

URI Parameters

None.

Body Parameters

The defecation instance that is being updated

ChangeOfDefecation
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

Request Formats

application/json, text/json

Sample:
{
  "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-26T21:01:19.9632806+02:00",
  "RegistrationDate": "2026-05-26T21:01:19.9632806+02:00"
}

application/xml, text/xml

Sample:
<ChangeOfDefecation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.CareRegistration">
  <ClientId>9</ClientId>
  <ClientName>sample string 10</ClientName>
  <CreationDate>2026-05-26T21:01:19.9632806+02:00</CreationDate>
  <EmployeeId>7</EmployeeId>
  <EmployeeName>sample string 8</EmployeeName>
  <Id>6</Id>
  <RegistrationDate>2026-05-26T21:01:19.9632806+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>
</ChangeOfDefecation>

Response Information

Resource Description

Returns the HttpResponseMessage which contains the saved defecation instance

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.