GET api/GoalDay/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WeekGoalDay| Name | 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
}
text/html
Sample:
{"GoalDayId":1,"GoalId":1,"DayNo":1,"DrinkTotal":1.0}
application/xml, text/xml
Sample:
<WeekGoalDay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DayAPI.Models"> <DayNo>1</DayNo> <DrinkTotal>1</DrinkTotal> <GoalDayId>1</GoalDayId> <GoalId>1</GoalId> </WeekGoalDay>