POST PlanCare2Api/CareRegistration/NutritionAndWeights
Saves a new nutritionAndWeight instance
Requires 'Start' permission for function NutritionAndWeightOverview {7B015D7A-3649-4237-B43E-1B7909CEB9E5}
Request Information
URI Parameters
None.
Body Parameters
The nutritionAndWeight instance that is being updated
NutritionAndWeight| Name | Description | Type | Additional information |
|---|---|---|---|
| IsTerminal |
Indicates if the client is terminal |
boolean |
None |
| WantsSystematicConditionCheck |
Indicates if the client wants a systematic condition check |
boolean |
None |
| HasSomeFormOfCancer |
Indicates if the client has a form of cancer |
boolean |
None |
| InNeedOfAssistance |
Indicates if the client is in need of assistance |
boolean |
None |
| StartWeightDate |
The date of the start weight |
date |
None |
| EndWeightDate |
The date of the end weight |
date |
None |
| ActualWeightDate |
The date of the actual weight |
date |
None |
| Length |
The length (cm) |
byte |
None |
| AbleToSatisfyNutritionNeedsValue |
The value of the choice for ChoiceType 'ZELFSTANDIG VOLDOEN'. This property is for reading purposes only. |
string |
None |
| AbleToSatisfyNutritionNeedsId |
References to a Choice of ChoiceType 'ZELFSTANDIG VOLDOEN' |
integer |
None |
| EndWeightKg |
The end weight (kg) |
decimal number |
None |
| LossOfAppetiteValue |
The value of the choice for ChoiceType 'VERMINDERDE EETLUST'. This property is for reading purposes only. |
string |
None |
| LossOfAppetiteId |
References to a Choice of ChoiceType 'VERMINDERDE EETLUST' |
integer |
None |
| StartWeightKg |
The start weight (kg) |
decimal number |
None |
| WeightLossLastMonthValue |
The value of the choice for ChoiceType 'GEWICHTSVERLIES LAATSTE MAAND'. This property is for reading purposes only. |
string |
None |
| WeightLossLastMonthId |
References to a Choice of ChoiceType 'GEWICHTSVERLIES LAATSTE MAAND' |
integer |
None |
| WeightLossLastMonthKg |
The weight loss (kg) in the last month |
decimal number |
None |
| WeightLossLastSixMonthsValue |
The value of the choice for ChoiceType 'GEWICHTSVERLIES 6 MAANDEN'. This property is for reading purposes only. |
string |
None |
| WeightLossLastSixMonthsId |
References to a Choice of ChoiceType 'GEWICHTSVERLIES 6 MAANDEN' |
integer |
None |
| WeightLossLastSixMonthsKg |
The weight loss (kg) in the last six months |
decimal number |
None |
| ActualWeightKg |
The actual weight (kg) |
decimal number |
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
{
"IsTerminal": true,
"WantsSystematicConditionCheck": true,
"HasSomeFormOfCancer": true,
"InNeedOfAssistance": true,
"StartWeightDate": "2026-05-26T21:12:28.9120996+02:00",
"EndWeightDate": "2026-05-26T21:12:28.9120996+02:00",
"ActualWeightDate": "2026-05-26T21:12:28.9120996+02:00",
"Length": 64,
"AbleToSatisfyNutritionNeedsValue": "sample string 8",
"AbleToSatisfyNutritionNeedsId": 1,
"EndWeightKg": 1.1,
"LossOfAppetiteValue": "sample string 9",
"LossOfAppetiteId": 1,
"StartWeightKg": 1.1,
"WeightLossLastMonthValue": "sample string 10",
"WeightLossLastMonthId": 1,
"WeightLossLastMonthKg": 1.1,
"WeightLossLastSixMonthsValue": "sample string 11",
"WeightLossLastSixMonthsId": 1,
"WeightLossLastSixMonthsKg": 1.1,
"ActualWeightKg": 1.1,
"Id": 12,
"EmployeeId": 13,
"EmployeeName": "sample string 14",
"ClientId": 15,
"ClientName": "sample string 16",
"CreationDate": "2026-05-26T21:12:28.9120996+02:00",
"RegistrationDate": "2026-05-26T21:12:28.9120996+02:00"
}
application/xml, text/xml
<NutritionAndWeight xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.CareRegistration"> <ClientId>15</ClientId> <ClientName>sample string 16</ClientName> <CreationDate>2026-05-26T21:12:28.9120996+02:00</CreationDate> <EmployeeId>13</EmployeeId> <EmployeeName>sample string 14</EmployeeName> <Id>12</Id> <RegistrationDate>2026-05-26T21:12:28.9120996+02:00</RegistrationDate> <AbleToSatisfyNutritionNeedsId>1</AbleToSatisfyNutritionNeedsId> <AbleToSatisfyNutritionNeedsValue>sample string 8</AbleToSatisfyNutritionNeedsValue> <ActualWeightDate>2026-05-26T21:12:28.9120996+02:00</ActualWeightDate> <ActualWeightKg>1.1</ActualWeightKg> <EndWeightDate>2026-05-26T21:12:28.9120996+02:00</EndWeightDate> <EndWeightKg>1.1</EndWeightKg> <HasSomeFormOfCancer>true</HasSomeFormOfCancer> <InNeedOfAssistance>true</InNeedOfAssistance> <IsTerminal>true</IsTerminal> <Length>64</Length> <LossOfAppetiteId>1</LossOfAppetiteId> <LossOfAppetiteValue>sample string 9</LossOfAppetiteValue> <StartWeightDate>2026-05-26T21:12:28.9120996+02:00</StartWeightDate> <StartWeightKg>1.1</StartWeightKg> <WantsSystematicConditionCheck>true</WantsSystematicConditionCheck> <WeightLossLastMonthId>1</WeightLossLastMonthId> <WeightLossLastMonthKg>1.1</WeightLossLastMonthKg> <WeightLossLastMonthValue>sample string 10</WeightLossLastMonthValue> <WeightLossLastSixMonthsId>1</WeightLossLastSixMonthsId> <WeightLossLastSixMonthsKg>1.1</WeightLossLastSixMonthsKg> <WeightLossLastSixMonthsValue>sample string 11</WeightLossLastSixMonthsValue> </NutritionAndWeight>
Response Information
Resource Description
Returns the HttpResponseMessage which contains the saved Measurement instance
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None |
|
| Content | HttpContent |
None |
|
| StatusCode | HttpStatusCode |
None |
|
| ReasonPhrase | string |
None |
|
| Headers | Collection of Object |
None |
|
| RequestMessage | HttpRequestMessage |
None |
|
| IsSuccessStatusCode | boolean |
None |