GET api/MealsEntries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of MealsEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| MealsEntryId | integer |
None. |
|
| studyID | string |
Required |
|
| ParticipantID | string |
None. |
|
| MealType | string |
None. |
|
| Grains | decimal number |
None. |
|
| Protein | decimal number |
None. |
|
| Vegetable | decimal number |
None. |
|
| Fruit | decimal number |
None. |
|
| Dairy | decimal number |
None. |
|
| DateTime | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"MealsEntryId": 1,
"studyID": "sample string 2",
"ParticipantID": "sample string 3",
"MealType": "sample string 4",
"Grains": 5.1,
"Protein": 6.1,
"Vegetable": 7.1,
"Fruit": 8.1,
"Dairy": 9.1,
"DateTime": "2025-12-21T23:20:10.3494069-08:00"
},
{
"MealsEntryId": 1,
"studyID": "sample string 2",
"ParticipantID": "sample string 3",
"MealType": "sample string 4",
"Grains": 5.1,
"Protein": 6.1,
"Vegetable": 7.1,
"Fruit": 8.1,
"Dairy": 9.1,
"DateTime": "2025-12-21T23:20:10.3494069-08:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfMealsEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/diabetesAppService.Models">
<MealsEntry>
<Dairy>9.1</Dairy>
<DateTime>2025-12-21T23:20:10.3494069-08:00</DateTime>
<Fruit>8.1</Fruit>
<Grains>5.1</Grains>
<MealType>sample string 4</MealType>
<MealsEntryId>1</MealsEntryId>
<ParticipantID>sample string 3</ParticipantID>
<Protein>6.1</Protein>
<Vegetable>7.1</Vegetable>
<studyID>sample string 2</studyID>
</MealsEntry>
<MealsEntry>
<Dairy>9.1</Dairy>
<DateTime>2025-12-21T23:20:10.3494069-08:00</DateTime>
<Fruit>8.1</Fruit>
<Grains>5.1</Grains>
<MealType>sample string 4</MealType>
<MealsEntryId>1</MealsEntryId>
<ParticipantID>sample string 3</ParticipantID>
<Protein>6.1</Protein>
<Vegetable>7.1</Vegetable>
<studyID>sample string 2</studyID>
</MealsEntry>
</ArrayOfMealsEntry>