GET api/WeekDrinkDay/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WeekDrinkDayName | Description | Type | Additional 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 }
text/html
Sample:
{"DrinkDayId":1,"DayId":2,"DrinkCt":3.0,"BeerCt":4}
application/xml, text/xml
Sample:
<WeekDrinkDay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DayAPI.Models"> <BeerCt>4</BeerCt> <DayId>2</DayId> <DrinkCt>3</DrinkCt> <DrinkDayId>1</DrinkDayId> </WeekDrinkDay>