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
Name Description Type Additional information
Remarks

Remarks of the registration

string

-

DayPart

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

string

-

Aspect

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

string

-

Remedy

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

string

-

Quantity

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

string

-

AspectId

References to a Choice of ChoiceType 'DEFECATIE ASPECT'

integer

Nullable

DayPartId

References to a Choice of ChoiceType 'DEFECATIE DAGDEEL'

integer

Nullable

QuantityId

References to a Choice of ChoiceType 'DEFECATIE HOEVEELHEID'

integer

Nullable

RemedyId

References to a Choice of ChoiceType 'DEFECATIE MIDDEL'

integer

Nullable

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

-

ClientId

The internal id of the client.

integer

Required

ClientName

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

string

-

CreationDate

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

date

-

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-26T23:20:05.1410948+02:00",
  "RegistrationDate": "2026-05-26T23:20:05.1410948+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-26T23:20:05.1410948+02:00</CreationDate>
  <EmployeeId>7</EmployeeId>
  <EmployeeName>sample string 8</EmployeeName>
  <Id>6</Id>
  <RegistrationDate>2026-05-26T23:20:05.1410948+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
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-