DELETE api/MealsEntries/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

MealsEntry
NameDescriptionTypeAdditional 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:24:07.2997689-08:00"
}

application/xml, text/xml

Sample:
<MealsEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/diabetesAppService.Models">
  <Dairy>9.1</Dairy>
  <DateTime>2025-12-21T23:24:07.2997689-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>