climate
- base
- localhost
- dev
- prod
/v2/private/healthAndCare/climate
http://localhost:1350/v2/private/healthAndCare/climate
https://dev.everdays.com/v2/private/healthAndCare/climate
https://everdays.com/v2/private/healthAndCare/climate
Available Methods​
- POST
POST /v2/private/healthAndCare/climate​
Saves the User's selection for the Climate step
Params​
| Param | Type | Description |
|---|---|---|
| value | Number | The id of the Climate option selected by the User |
Example request body
body: {
value: 1;
}
Returns​
The entire user object, with healthAndCare.climate updated.
Example return object of just user.healthAndCare
user: {
...,
healthAndCare: {
...,
climate: { value: 1 },
lastScreen: {
screen: "climate",
date: "2022-03-22T19:07:00.892Z"
},
}
}
info
For more detailed information about each value in healthAndCare, please refer to the user model docs.