GET PlanCare2Api/CareRegistration/Glycemias?clientId={clientId}&from={from}&maxRecordCount={maxRecordCount}
Gets the blood sugar level measurements of the specified client.
Requires 'Start' permission for function DiabetesOverview {E7B79013-1116-45D0-B5EB-B6F672FED60E}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId |
The clientId to obtain the values for. |
integer |
Required |
| from |
Only measurements created on or from the specified date are returned. Format = yyyy-MM-dd (for example 2014-01-23). |
date |
Required |
| maxRecordCount |
The maximum number of measurements to return. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The list of requested measurements
Collection of 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 |
Response Formats
application/json, text/json
[
{
"$id": "1",
"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:18.5441835+02:00",
"RegistrationDate": "2026-05-26T22:10:18.5441835+02:00"
},
{
"$ref": "1"
}
]
application/xml, text/xml
<ArrayOfGlycemias xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.CareRegistration">
<Glycemias>
<ClientId>8</ClientId>
<ClientName>sample string 9</ClientName>
<CreationDate>2026-05-26T22:10:18.5441835+02:00</CreationDate>
<EmployeeId>6</EmployeeId>
<EmployeeName>sample string 7</EmployeeName>
<Id>5</Id>
<RegistrationDate>2026-05-26T22:10:18.5441835+02:00</RegistrationDate>
<Diet>sample string 4</Diet>
<IsSober>true</IsSober>
<Treatment>sample string 2</Treatment>
<Value>1</Value>
<ValueIsHigh>true</ValueIsHigh>
</Glycemias>
<Glycemias>
<ClientId>8</ClientId>
<ClientName>sample string 9</ClientName>
<CreationDate>2026-05-26T22:10:18.5441835+02:00</CreationDate>
<EmployeeId>6</EmployeeId>
<EmployeeName>sample string 7</EmployeeName>
<Id>5</Id>
<RegistrationDate>2026-05-26T22:10:18.5441835+02:00</RegistrationDate>
<Diet>sample string 4</Diet>
<IsSober>true</IsSober>
<Treatment>sample string 2</Treatment>
<Value>1</Value>
<ValueIsHigh>true</ValueIsHigh>
</Glycemias>
</ArrayOfGlycemias>