Surveys
Danh sách khảo sát đang hiệu lực và phù hợp với người dùng hiện tại
Changed onQuy tắc đối tượng của khảo sát được đánh giá theo: tài khoản (hạng thành viên, eKYC, role, tên đăng nhập) và các tham số client gửi lên (platform, appVersion, targetAudience).
get/surveys
Request
- Base URLhttps://api.fireant.vn
- AuthOAuth 2Implicithttps://accounts.fireant.vn/connect/authorizeScopesuser-data-read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
platformstring
Nền tảng: ios | android | web
appVersionstring
Phiên bản ứng dụng (x.y.z)
targetAudiencestring
Tag tự do (nhóm đối tượng) - tùy chọn
onlyUnansweredboolean
true = chỉ lấy khảo sát chưa trả lời
excludeDismissedboolean
true = bỏ khảo sát người dùng đã "Để sau" / "Không quan tâm" (mặc định false: vẫn trả, kèm isDismissed)
targetTypestring
Lọc theo đối tượng gắn kèm: post, symbol, room, user... (đi cùng targetKey)
targetKeystring
Khóa đối tượng: postId, mã CK, roomId...
offsetinteger
Vị trí bản ghi đầu tiên (mặc định 0)
limitinteger
Số bản ghi tối đa (mặc định 20, tối đa 200)
Response
Thành công
Changes
- info
endpoint added
- info