---
title: "PUT /v1/api/Survey/UpdateSurvey/{surveyId}"
method: PUT
path: "/v1/api/Survey/UpdateSurvey/{surveyId}"
tags: ["Survey"]
---

# PUT /v1/api/Survey/UpdateSurvey/{surveyId}

`PUT /v1/api/Survey/UpdateSurvey/{surveyId}`

## Request

- Base URL: `https://api.xpert-bycheil.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xpert-bycheil.com/v1/api/Survey/UpdateSurvey/{surveyId}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/xpert-bycheil/apis/api-samsung-plus-new-version/docs/v1/api/Survey/UpdateSurvey/:surveyId/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `surveyId` integer, required

## Request body

- CreateUpdateSurveyRqst
  - `surveyID` integer
  - `title` string, nullable
  - `description` string, nullable
  - `startDate` string, date-time
  - `finishDate` string, date-time
  - `timeSeconds` integer
  - `isActive` boolean
  - `isUpdateProfileInfo` boolean
  - `surveyQuestions` SurveyQuestionRqst[], nullable
    - `surveyQuestionTypeID` integer
    - `txtQuestion` string, nullable
    - `surveyAnswerType` string, nullable
    - `updateProfileInfoID` integer, nullable
    - `surveyQuestionChoices` SurveyQuestionChoiceRqst[], nullable
      - `txtChoise` string, nullable
      - `order` integer

## Response `200`

Success

---

[API](https://skmtc.dev/xpert-bycheil/apis/api-samsung-plus-new-version.md) - [All operations](https://skmtc.dev/xpert-bycheil/apis/api-samsung-plus-new-version/llms.txt) - [OpenAPI document](https://skmtc.dev/xpert-bycheil/apis/api-samsung-plus-new-version/revisions/760bdba6a774?raw)
