GET api/v1/getDashboard?date={date}
Get Dashboard
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| date | string |
Default value is -1 |
Body Parameters
None.
Response Information
Resource Description
Collection of ModelDashboard| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| mealtime | string |
None. |
|
| calories | integer |
None. |
|
| water | integer |
None. |
|
| picture | string |
None. |
|
| weight | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"mealtime": "sample string 2",
"calories": 3,
"water": 4,
"picture": "sample string 5",
"weight": 6.0
},
{
"id": 1,
"mealtime": "sample string 2",
"calories": 3,
"water": 4,
"picture": "sample string 5",
"weight": 6.0
}
]
application/xml, text/xml
Sample:
<ArrayOfModelDashboard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ibdDataPoint">
<ModelDashboard>
<calories>3</calories>
<id>1</id>
<mealtime>sample string 2</mealtime>
<picture>sample string 5</picture>
<water>4</water>
<weight>6</weight>
</ModelDashboard>
<ModelDashboard>
<calories>3</calories>
<id>1</id>
<mealtime>sample string 2</mealtime>
<picture>sample string 5</picture>
<water>4</water>
<weight>6</weight>
</ModelDashboard>
</ArrayOfModelDashboard>