GET api/v1/getMealListOfTime?mealtime={mealtime}&date={date}

Valideate user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mealtime

integer

Required

date

string

Default value is -1

Body Parameters

None.

Response Information

Resource Description

Collection of ModelMealListofATime
NameDescriptionTypeAdditional information
id

integer

None.

dishname

string

None.

unit

string

None.

quantity

string

None.

calories

integer

None.

dishname2

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "dishname": "sample string 2",
    "unit": "sample string 3",
    "quantity": "sample string 4",
    "calories": 5,
    "dishname2": "sample string 6"
  },
  {
    "id": 1,
    "dishname": "sample string 2",
    "unit": "sample string 3",
    "quantity": "sample string 4",
    "calories": 5,
    "dishname2": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfModelMealListofATime xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ibdDataPoint">
  <ModelMealListofATime>
    <calories>5</calories>
    <dishname>sample string 2</dishname>
    <dishname2>sample string 6</dishname2>
    <id>1</id>
    <quantity>sample string 4</quantity>
    <unit>sample string 3</unit>
  </ModelMealListofATime>
  <ModelMealListofATime>
    <calories>5</calories>
    <dishname>sample string 2</dishname>
    <dishname2>sample string 6</dishname2>
    <id>1</id>
    <quantity>sample string 4</quantity>
    <unit>sample string 3</unit>
  </ModelMealListofATime>
</ArrayOfModelMealListofATime>