POST PlanCare2Api/CareRegistration/Glycemias
Saves a new blood sugar level measurement
Requires 'Start' permission for function DiabetesOverview {E7B79013-1116-45D0-B5EB-B6F672FED60E}
Request Information
URI Parameters
None.
Body Parameters
The blood sugar level measurement that is being added
Glycemias| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSober |
Indicates if the client is sober |
boolean |
None. |
| Treatment |
The description of the treatment |
string |
None. |
| Value |
Represents the value of the diabetes |
decimal number |
None. |
| ValueIsHigh |
Indicates if value is HIGH, if HIGH then 'Value' should be NULL |
boolean |
None. |
| Diet |
The description of the diet |
string |
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
{
"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-26T21:03:28.5466819+02:00",
"RegistrationDate": "2026-05-26T21:03:28.5466819+02:00"
}
application/xml, text/xml
<Glycemias 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-26T21:03:28.5466819+02:00</CreationDate> <EmployeeId>6</EmployeeId> <EmployeeName>sample string 7</EmployeeName> <Id>5</Id> <RegistrationDate>2026-05-26T21:03:28.5466819+02:00</RegistrationDate> <Diet>sample string 4</Diet> <IsSober>true</IsSober> <Treatment>sample string 2</Treatment> <Value>1</Value> <ValueIsHigh>true</ValueIsHigh> </Glycemias>
Response Information
Resource Description
Returns the HttpResponseMessage which contains the saved blood sugar level measurement
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. |