lifetimeCare
- base
- localhost
- dev
- prod
/v2/private/deepDives/lifetimeCare
http://localhost:1350/v2/private/deepDives/lifetimeCare
https://dev.everdays.com/v2/private/deepDives/lifetimeCare
https://everdays.com/v2/private/deepDives/lifetimeCare
Available Methods​
- POST
POST /v2/private/deepDives/lifetimeCare​
This endpoint is used to save information on the lifetime Care step in the Deep Dives flow.
Params​
| Param | Type | Description |
|---|---|---|
| hobbies | Array | The user's selected hobbies |
| careFacilityType | String Enum - ['inHome', 'independentLiving', 'assistedLiving', 'nursingHome', 'notSure'] | The user type of facility envision for care |
| facilityLocationPriority | String Enum - ['nearfamily', 'affordable', 'premiumFacility', 'noPreference'] | The user priority for the location of facility |
| familyHistory | Array Enum - ['stroke', 'cancer', 'dementia', 'parkinson', 'osteoarthritis'] | The user family history |
| careSafety | Number | The user's care safety net |
Example request body
body: {
"selections":[
{
"id": 2,
"title": "Board Games"
},
{
"id": 3,
"title": "Golf"
}
],
"customSelections": [
{ "title": "Testing" },
{ "title": "Custom" }
],
"careFacilityType": "inHome",
"facilityLocationPriority": "nearfamily",
"familyHistory": ["cancer"],
"careSafety": 2000
}
Returns​
The entire user object.
Example return object with user.lifetimeCare
user: {
"lifetimeCare": {
"careFacilityType": "inHome",
"careSafety": 2000,
"facilityLocationPriority": "nearfamily",
"familyHistory": ["cancer"],
"hobbies": {
"customSelections": [
{
"title": "Testing"
},
{
"title": "Custom"
}
],
"selections": [
{
"id": 2,
"title": "Board Games"
},
{
"id": 3,
"title": "Golf"
}
]
}
}
}