GET api/WeekDrinkDay

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WeekDrinkDay
NameDescriptionTypeAdditional information
DrinkDayId

integer

None.

DayId

integer

None.

DrinkCt

decimal number

None.

BeerCt

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DrinkDayId": 1,
    "DayId": 2,
    "DrinkCt": 3.0,
    "BeerCt": 4
  },
  {
    "DrinkDayId": 1,
    "DayId": 2,
    "DrinkCt": 3.0,
    "BeerCt": 4
  }
]

text/html

Sample:
[{"DrinkDayId":1,"DayId":2,"DrinkCt":3.0,"BeerCt":4},{"DrinkDayId":1,"DayId":2,"DrinkCt":3.0,"BeerCt":4}]

application/xml, text/xml

Sample:
<ArrayOfWeekDrinkDay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DayAPI.Models">
  <WeekDrinkDay>
    <BeerCt>4</BeerCt>
    <DayId>2</DayId>
    <DrinkCt>3</DrinkCt>
    <DrinkDayId>1</DrinkDayId>
  </WeekDrinkDay>
  <WeekDrinkDay>
    <BeerCt>4</BeerCt>
    <DayId>2</DayId>
    <DrinkCt>3</DrinkCt>
    <DrinkDayId>1</DrinkDayId>
  </WeekDrinkDay>
</ArrayOfWeekDrinkDay>