POST PlanCare2Api/CareRegistration/Glycemias/ChangeOfGlycemias
Updates an existing blood sugar level measurement.
Requires 'Edit' permission for function MedicalDiabetes {E452C97D-56B1-4FCE-9069-82D56BBFB4A5}
Request Information
URI Parameters
None.
Body Parameters
The blood sugar level measurement that is being updated.
ChangeOfGlycemias| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSober |
Indicates if the client is sober |
boolean |
- |
| Treatment |
The description of the treatment |
string |
- |
| Value |
Represents the value of the diabetes |
decimal number |
Nullable |
| ValueIsHigh |
Indicates if value is HIGH, if HIGH then 'Value' should be NULL |
boolean |
- |
| Diet |
The description of the diet |
string |
- |
| 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
{
"IsSober": true,
"Treatment": "sample string 2",
"Value": 1.0,
"ValueIsHigh": true,
"Diet": "sample string 4",
"Id": 5,
"EmployeeId": 6,
"EmployeeName": "sample string 7",
"ClientId": 8,
"ClientName": "sample string 9",
"CreationDate": "2026-05-26T22:10:08.6870901+02:00",
"RegistrationDate": "2026-05-26T22:10:08.6870901+02:00"
}
application/xml, text/xml
<ChangeOfGlycemias xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.CareRegistration"> <ClientId>8</ClientId> <ClientName>sample string 9</ClientName> <CreationDate>2026-05-26T22:10:08.6870901+02:00</CreationDate> <EmployeeId>6</EmployeeId> <EmployeeName>sample string 7</EmployeeName> <Id>5</Id> <RegistrationDate>2026-05-26T22:10:08.6870901+02:00</RegistrationDate> <Diet>sample string 4</Diet> <IsSober>true</IsSober> <Treatment>sample string 2</Treatment> <Value>1</Value> <ValueIsHigh>true</ValueIsHigh> </ChangeOfGlycemias>
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 |
- |