GET api/WeekSummary?dt={dt}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dt | date |
Required |
Body Parameters
None.
Response Information
Resource Description
WeekSummaryName | 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-01-07T18:18:11.0478933-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-01-07T18:18:11.0478933-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:
<WeekSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DayAPI.Models"> <CaloriesTotal>8</CaloriesTotal> <DrinkTotal>6</DrinkTotal> <Exception>4</Exception> <ExerciseTotal>7</ExerciseTotal> <GoalId>1</GoalId> <LastWeight>3</LastWeight> <StartDate>2025-01-07T18:18:11.0478933-06:00</StartDate> <WeekId>1</WeekId> <Weight>2</Weight> <wkBeer>5</wkBeer> </WeekSummary>