GET api/GoalDay
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of WeekGoalDayName | Description | Type | Additional information |
---|---|---|---|
GoalDayId | integer |
None. |
|
GoalId | integer |
None. |
|
DayNo | integer |
None. |
|
DrinkTotal | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "GoalDayId": 1, "GoalId": 1, "DayNo": 1, "DrinkTotal": 1.0 }, { "GoalDayId": 1, "GoalId": 1, "DayNo": 1, "DrinkTotal": 1.0 } ]
text/html
Sample:
[{"GoalDayId":1,"GoalId":1,"DayNo":1,"DrinkTotal":1.0},{"GoalDayId":1,"GoalId":1,"DayNo":1,"DrinkTotal":1.0}]
application/xml, text/xml
Sample:
<ArrayOfWeekGoalDay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DayAPI.Models"> <WeekGoalDay> <DayNo>1</DayNo> <DrinkTotal>1</DrinkTotal> <GoalDayId>1</GoalDayId> <GoalId>1</GoalId> </WeekGoalDay> <WeekGoalDay> <DayNo>1</DayNo> <DrinkTotal>1</DrinkTotal> <GoalDayId>1</GoalDayId> <GoalId>1</GoalId> </WeekGoalDay> </ArrayOfWeekGoalDay>