POST PlanCare2Api/MedicalLength/Update
Update MedicalLength.
Relation(s) can be of the following types: Client, Prospect
Requires 'Edit' permission for function MedicalLength {46A09813-4D42-414C-9637-79EB1F00A87B}
Request Information
URI Parameters
None.
Body Parameters
MedicalLength.
MedicalLength| Name | Description | Type | Additional information |
|---|---|---|---|
| Length |
Length in centimeters. |
decimal number |
- |
| MedicalCodeContextPositionId |
Id of MedicalCodeContextPosition (MedicalCodeListType.LengthContextPosition). |
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:
{
"Length": 1.0,
"MedicalCodeContextPositionId": "aa04d6a3-e653-4b79-ab50-cfc349a2bb85",
"Remarks": "sample string 2",
"Id": 3,
"RelationId": 4,
"RegistrationDateTime": "2026-05-26T22:06:59.8723262+02:00",
"Source": "sample string 6"
}
application/xml, text/xml
Sample:
<MedicalLength 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:06:59.8723262+02:00</RegistrationDateTime> <RelationId>4</RelationId> <Source>sample string 6</Source> <Length>1</Length> <MedicalCodeContextPositionId>aa04d6a3-e653-4b79-ab50-cfc349a2bb85</MedicalCodeContextPositionId> <Remarks>sample string 2</Remarks> </MedicalLength>
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 |
- |