PATCH /my/survey/active/intake_decision
Overrides user intake decision of the active user's survey
Query parameters
-
rating_persona_oily number
Rating Persona Oily level
Minimum value is
1
, maximum value is5
. -
rating_persona_sensitive number
Rating Persona Sensitive level
Minimum value is
1
, maximum value is5
. -
rating_persona_uneven number
Rating Persona Uneven level
Minimum value is
1
, maximum value is5
. -
rating_persona_wrinkled number
Rating Persona Wrinkled level
Minimum value is
1
, maximum value is5
. -
is_condition_acne boolean
Does the user have an acne condition?
-
is_concerned_gluten boolean
Is the user concerned about gluten?
-
is_condition_eczema boolean
Is the user with eczema condition?
-
is_constrained_time boolean
Does the user have constrained time?
-
is_condition_rosacea boolean
Does the user have an rosacea condition?
-
is_high_sun_exposure boolean
Does the user have high exposure to the sun?
-
is_living_hot_summer boolean
Does the user live in a hot summer area?
-
is_living_hot_summer boolean
Does the user live in a urban area?
-
is_concerned_parabens boolean
Is the user concerned about parabens?
-
is_concerned_sulfates boolean
Is the user concerned about sulfates?
-
is_constrained_budget boolean
Does the user have a constrained budget?
-
is_living_cold_winter boolean
Does the user live in a cold winter area?
-
is_living_dry_climate boolean
Does the user live in a dry climated area?
-
is_concerned_silicones boolean
Is the user concerned about silicones?
-
is_condition_dehydration boolean
Does the user have an dehydration condition?
curl \
-X PATCH https://api.cosmily.com/api/v1/my/survey/active/intake_decision \
-H "Authorization: Bearer $ACCESS_TOKEN"
{
"data": {
"id": 42,
"version": 42,
"user_id": 42,
"survey_uuid": "string",
"data": {
"is_constrained_time": true,
"rating_persona_oily": 1,
"is_high_sun_exposure": true,
"is_living_hot_summer": true,
"is_living_urban_area": true,
"is_concerned_parabens": true,
"is_concerned_sulfates": true,
"is_constrained_budget": true,
"is_living_cold_winter": true,
"is_living_dry_climate": true,
"rating_persona_uneven": 3,
"is_concerned_silicones": true,
"rating_persona_wrinkled": 2,
"rating_persona_sensitive": 3
}
}
}
{
"data": {
"id": 42,
"version": 42,
"user_id": 42,
"survey_uuid": "string",
"data": {
"is_constrained_time": true,
"rating_persona_oily": 1,
"is_high_sun_exposure": true,
"is_living_hot_summer": true,
"is_living_urban_area": true,
"is_concerned_parabens": true,
"is_concerned_sulfates": true,
"is_constrained_budget": true,
"is_living_cold_winter": true,
"is_living_dry_climate": true,
"rating_persona_uneven": 3,
"is_concerned_silicones": true,
"rating_persona_wrinkled": 2,
"rating_persona_sensitive": 3
}
}
}