---
title: "Duyệt các câu trả lời dạng text của một câu hỏi (tự luận, \"Khác\", mã CK, URL tệp)"
method: GET
path: "/admin/surveys/{surveyId}/questions/{questionId}/text-answers"
tags: ["SurveysAdmin"]
---

# Duyệt các câu trả lời dạng text của một câu hỏi (tự luận, "Khác", mã CK, URL tệp)

`GET /admin/surveys/{surveyId}/questions/{questionId}/text-answers`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/admin/surveys/{surveyId}/questions/{questionId}/text-answers`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `user-data-read`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/admin/surveys/:surveyId/questions/:questionId/text-answers/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `surveyId` integer, required
- `questionId` integer, required

## Query parameters

- `keyword` string
- `offset` integer
- `limit` integer
- `optionId` integer

## Response `200`

Thành công

- FireAntApiModelsSurveysSurveyPagedResultFireAntApiModelsSurveysSurveyTextAnswerItem: Kết quả phân trang
  - `items` FireAntApiModelsSurveysSurveyTextAnswerItem[]: Danh sách phần tử của trang hiện tại
    - `userName` string: Tên đăng nhập người trả lời
    - `submittedDate` string, date-time: Thời điểm gửi
    - `answerId` integer: ID câu trả lời
    - `responseId` integer: ID phản hồi
    - `questionId` integer: ID câu hỏi
    - `questionText` string: Nội dung câu hỏi
    - `questionType` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17: Loại câu hỏi (1 = SingleChoice, 2 = MultipleChoice, 3 = Text, 4 = Rating, 5 = YesNo, 6 = Number, 7 = Date, 8 = Dropdown, 9 = Matrix, 10 = Ranking, 11 = FileUpload, 12 = Symbol, 13 = DateRange, 14 = Slider, 15 = Section, 16 = Hotspot, 17 = FillInBlank)
    - `orderIndex` integer: Thứ tự câu hỏi
    - `optionId` integer: ID lựa chọn (các loại chọn; Matrix: dòng; Ranking: lựa chọn được xếp hạng)
    - `optionText` string: Nội dung lựa chọn
    - `optionValue` string: Giá trị nội bộ của lựa chọn
    - `isOther` boolean: Lựa chọn là "Khác"
    - `subOptionId` integer: Matrix: ID cột được chọn
    - `subOptionText` string: Matrix: nội dung cột được chọn
    - `answerText` string: Text trả lời (Text, "Khác", URL tệp, mã cổ phiếu)
    - `answerNumber` number, double: Giá trị số (Rating/Number/Slider/YesNo; Ranking: thứ hạng; Matrix thang điểm: điểm)
    - `answerDate` string, date-time: Giá trị ngày (Date; DateRange: ngày bắt đầu)
    - `answerDateEnd` string, date-time: DateRange: ngày kết thúc
    - `answerNumberEnd` number, double: Hotspot: tọa độ Y (answerNumber là X); Slider chọn khoảng: đầu cuối
  - `totalCount` integer: Tổng số bản ghi thỏa điều kiện
  - `offset` integer: Vị trí bản ghi đầu tiên
  - `limit` integer: Số bản ghi tối đa của trang

## Changes

- **2026-10-10** `300cfd8b632c`: 1 info
  - added the new optional `query` request parameter `optionId`
- **2026-09-25** `a481789cd81c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/admin/surveys/:surveyId/questions/:questionId/text-answers/get.md)

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) - [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireant/apis/fireant-restful-api/revisions/c9b3aa855f95?raw)
