POST PlanCare2Api/MedicalWeight/Update
Update MedicalWeight.
Relation(s) can be of the following types: Client, Prospect
Requires 'Edit' permission for function MedicalWeight {0D7F4475-C2D4-4573-9A6B-9E03FFACDF4F}
Request Information
URI Parameters
None.
Body Parameters
MedicalWeight.
MedicalWeight| Name | Description | Type | Additional information |
|---|---|---|---|
| Weight |
Weight in kilograms. |
decimal number |
- |
| MedicalCodeContextClothingId |
Id of MedicalCodeContextClothing (MedicalCodeListType.ContextClothing). |
globally unique identifier |
Nullable |
| Remarks |
Remarks. |
string |
- |
| Id |
Id of the registration. |
integer |
- |
| RelationId |
Id of the relation which the registration belongs to. |
integer |
Required |
| RegistrationDateTime |
DateTime of measurement. |
date |
Required |
| Source |
Source of registration (example: name of the questionnaire). |
string |
- |
Request Formats
application/json, text/json
Sample:
{
"Weight": 1.0,
"MedicalCodeContextClothingId": "bd06cc50-3aeb-4d8b-8a34-82e6e1c41fdb",
"Remarks": "sample string 2",
"Id": 3,
"RelationId": 4,
"RegistrationDateTime": "2026-05-26T22:07:48.4908378+02:00",
"Source": "sample string 6"
}
application/xml, text/xml
Sample:
<MedicalWeight xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical"> <Id>3</Id> <RegistrationDateTime>2026-05-26T22:07:48.4908378+02:00</RegistrationDateTime> <RelationId>4</RelationId> <Source>sample string 6</Source> <MedicalCodeContextClothingId>bd06cc50-3aeb-4d8b-8a34-82e6e1c41fdb</MedicalCodeContextClothingId> <Remarks>sample string 2</Remarks> <Weight>1</Weight> </MedicalWeight>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
- |
|
| Content | HttpContent |
- |
|
| StatusCode | HttpStatusCode |
- |
|
| ReasonPhrase | string |
- |
|
| Headers | Collection of Object |
- |
|
| RequestMessage | HttpRequestMessage |
- |
|
| IsSuccessStatusCode | boolean |
- |