PATCH /my/survey/active/intake_decision

PATCH /my/survey/active/intake_decision

Overrides user intake decision of the active user's survey

Query parameters

Responses

PATCH /my/survey/active/intake_decision
curl \
 -X PATCH https://api.cosmily.com/api/v1/my/survey/active/intake_decision \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (204)
{
  "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
    }
  }
}
Response examples (204)
{
  "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
    }
  }
}