GET api/WeekSummary
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of WeekSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| WeekId | integer |
None. |
|
| StartDate | date |
None. |
|
| Weight | decimal number |
None. |
|
| LastWeight | decimal number |
None. |
|
| GoalId | integer |
None. |
|
| Exception | integer |
None. |
|
| wkBeer | integer |
None. |
|
| DrinkTotal | integer |
None. |
|
| ExerciseTotal | decimal number |
None. |
|
| CaloriesTotal | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"WeekId": 1,
"StartDate": "2025-11-03T14:43:01.4709214-06:00",
"Weight": 2.0,
"LastWeight": 3.0,
"GoalId": 1,
"Exception": 4,
"wkBeer": 5,
"DrinkTotal": 6,
"ExerciseTotal": 7.0,
"CaloriesTotal": 8
},
{
"WeekId": 1,
"StartDate": "2025-11-03T14:43:01.4709214-06:00",
"Weight": 2.0,
"LastWeight": 3.0,
"GoalId": 1,
"Exception": 4,
"wkBeer": 5,
"DrinkTotal": 6,
"ExerciseTotal": 7.0,
"CaloriesTotal": 8
}
]
text/html
Sample:
[{"WeekId":1,"StartDate":"2025-11-03T14:43:01.4709214-06:00","Weight":2.0,"LastWeight":3.0,"GoalId":1,"Exception":4,"wkBeer":5,"DrinkTotal":6,"ExerciseTotal":7.0,"CaloriesTotal":8},{"WeekId":1,"StartDate":"2025-11-03T14:43:01.4709214-06:00","Weight":2.0,"LastWeight":3.0,"GoalId":1,"Exception":4,"wkBeer":5,"DrinkTotal":6,"ExerciseTotal":7.0,"CaloriesTotal":8}]
application/xml, text/xml
Sample:
<ArrayOfWeekSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DayAPI.Models">
<WeekSummary>
<CaloriesTotal>8</CaloriesTotal>
<DrinkTotal>6</DrinkTotal>
<Exception>4</Exception>
<ExerciseTotal>7</ExerciseTotal>
<GoalId>1</GoalId>
<LastWeight>3</LastWeight>
<StartDate>2025-11-03T14:43:01.4709214-06:00</StartDate>
<WeekId>1</WeekId>
<Weight>2</Weight>
<wkBeer>5</wkBeer>
</WeekSummary>
<WeekSummary>
<CaloriesTotal>8</CaloriesTotal>
<DrinkTotal>6</DrinkTotal>
<Exception>4</Exception>
<ExerciseTotal>7</ExerciseTotal>
<GoalId>1</GoalId>
<LastWeight>3</LastWeight>
<StartDate>2025-11-03T14:43:01.4709214-06:00</StartDate>
<WeekId>1</WeekId>
<Weight>2</Weight>
<wkBeer>5</wkBeer>
</WeekSummary>
</ArrayOfWeekSummary>