POST PlanCare2Api/MedicalDiabetes/Update

Update MedicalDiabetes.

Relation(s) can be of the following types: Client, Prospect

Requires 'Edit' permission for function MedicalDiabetes {E452C97D-56B1-4FCE-9069-82D56BBFB4A5}

Request Information

URI Parameters

None.

Body Parameters

MedicalDiabetes.

MedicalDiabetes
Name Description Type Additional information
Value

Value.

decimal number

Nullable

ValueIsHigh

ValueIsHigh.

boolean

-

IsSober

IsSober.

boolean

-

Treatment

Treatment.

string

-

Diet

Diet.

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:
{
  "Value": 1.0,
  "ValueIsHigh": true,
  "IsSober": true,
  "Treatment": "sample string 3",
  "Diet": "sample string 4",
  "Id": 5,
  "RelationId": 6,
  "RegistrationDateTime": "2026-05-26T22:07:58.6756453+02:00",
  "Source": "sample string 8"
}

application/xml, text/xml

Sample:
<MedicalDiabetes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
  <Id>5</Id>
  <RegistrationDateTime>2026-05-26T22:07:58.6756453+02:00</RegistrationDateTime>
  <RelationId>6</RelationId>
  <Source>sample string 8</Source>
  <Diet>sample string 4</Diet>
  <IsSober>true</IsSober>
  <Treatment>sample string 3</Treatment>
  <Value>1</Value>
  <ValueIsHigh>true</ValueIsHigh>
</MedicalDiabetes>

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

-