POST api/SetCustomGoals
Request Information
URI Parameters
None.
Body Parameters
CustomGoalMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| CRN | string |
None. |
|
| ProgramName | string |
None. |
|
| ForWeek | string |
None. |
|
| Steps | string |
None. |
|
| Sleep | string |
None. |
|
| Excercise | string |
None. |
|
| ActiveHours | string |
None. |
|
| CalorieConsumed | string |
None. |
|
| WaterIntake | string |
None. |
|
| HealthyHabits | string |
None. |
|
| Meditation | string |
None. |
|
| TwoMeals | string |
None. |
|
| DinnerBeforEight | string |
None. |
|
| CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CRN": "sample string 1",
"ProgramName": "sample string 2",
"ForWeek": "sample string 3",
"Steps": "sample string 4",
"Sleep": "sample string 5",
"Excercise": "sample string 6",
"ActiveHours": "sample string 7",
"CalorieConsumed": "sample string 8",
"WaterIntake": "sample string 9",
"HealthyHabits": "sample string 10",
"Meditation": "sample string 11",
"TwoMeals": "sample string 12",
"DinnerBeforEight": "sample string 13",
"CreatedBy": "sample string 14"
}
application/xml, text/xml
Sample:
<CustomGoalMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WYH_Health.Models"> <ActiveHours>sample string 7</ActiveHours> <CRN>sample string 1</CRN> <CalorieConsumed>sample string 8</CalorieConsumed> <CreatedBy>sample string 14</CreatedBy> <DinnerBeforEight>sample string 13</DinnerBeforEight> <Excercise>sample string 6</Excercise> <ForWeek>sample string 3</ForWeek> <HealthyHabits>sample string 10</HealthyHabits> <Meditation>sample string 11</Meditation> <ProgramName>sample string 2</ProgramName> <Sleep>sample string 5</Sleep> <Steps>sample string 4</Steps> <TwoMeals>sample string 12</TwoMeals> <WaterIntake>sample string 9</WaterIntake> </CustomGoalMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |