开放接口(答题端)
最后更新于
这有帮助吗?
最后更新于
这有帮助吗?
为支持各类业务场景,将问卷答题端相关的接口进行开放。第三方可通过接口的形式查询问卷内容(题目&选项)、提交答题数据等。
-----------------------------------------------------------------------------------------------------
关联文档:
接口描述
路径参数
sid
5cd92958fdce2717546f45e5
问卷ID,24长度字符串
data
object
非必须
├─ _id
string
非必须
├─ status
number
非必须
├─ title
string
非必须
├─ conclusion
string
非必须
├─ introduction
string
非必须
├─ pages
object []
非必须
item 类型: object
├─ id
string
非必须
├─ questions
string []
非必须
item 类型: string
├─
非必须
├─ questions
object
非必须
├─ LKQ1
object
非必须
├─ blank
boolean
非必须
├─ description
null
非必须
├─ id
string
非必须
├─ lastOptionFixed
boolean
非必须
├─ options
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ preLineNum
number
非必须
├─ random
boolean
非必须
├─ randomGroup
boolean
非必须
├─ randomGroupSetting
object
非必须
├─ random
boolean
非必须
├─ randomReverse
boolean
非必须
├─ relateBy
null
非必须
├─ relateCondition
string
非必须
├─ relateFor
string []
非必须
item 类型: string
├─
非必须
├─ required
boolean
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ verticalLineNum
number
非必须
├─ time
number
非必须
├─ displayRules
null
非必须
├─ standardizedModelTagConfigs
object
非必须
├─ playerType
null
非必须
├─ cycleConf
null
非必须
├─ activities
object
非必须
├─ question_id
string
非必须
├─ version
string
非必须
├─ isSubSurveyMode
boolean
非必须
├─ subSurveys
null
非必须
├─ updated_at
string
非必须
meta
object
非必须
├─ configs
object
非必须
├─ accountLimit
boolean
非必须
├─ amsLottery
boolean
非必须
├─ browserLimit
boolean
非必须
├─ callbackUrl
string
非必须
├─ canCheckAnswers
boolean
非必须
├─ canPhaseSubmit
boolean
非必须
├─ collectDeadlineMsg
string
非必须
├─ collectNotify
boolean
非必须
├─ collectProgress
boolean
非必须
├─ domain
string
非必须
├─ forbidUserSelect
boolean
非必须
├─ ipLimit
boolean
非必须
├─ isCanFallback
boolean
非必须
├─ isSaveAnswersHistory
boolean
非必须
├─ language
string
非必须
├─ outVerificationRegions
null
非必须
├─ outVerificationSkipWelcome
boolean
非必须
├─ outVerificationUseDefault
boolean
非必须
├─ phaseSubmitPages
null
非必须
├─ redirect
boolean
非必须
├─ redirectUri
string
非必须
├─ showProgress
boolean
非必须
├─ showSerial
boolean
非必须
├─ showWatermark
boolean
非必须
├─ theme
null
非必须
├─ useNewLogic
boolean
非必须
├─ verification
boolean
非必须
├─ whitelistLimit
boolean
非必须
├─ whitelistType
string
非必须
├─ acceptCheckbox
boolean
非必须
├─ agreement
string
非必须
接口地址
接口描述
请求参数
Headers
Content-Type
application/json
是
路径参数
sid
5cd92958fdce2717546f45e5
问卷ID,24长度字符串
Body
fingerprint
string
必须
用户指纹
answers
object
必须
答案是动态根据问卷配置来的
├─ 1vSZ
object
必须
├─ id
string
必须
├─ type
string
必须
├─ options
object []
必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ checked
boolean
必须
├─ 9jXS
object
必须
├─ id
string
必须
├─ type
string
必须
├─ options
object []
必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ checked
boolean
必须
├─ 43Yw
object
必须
├─ id
string
必须
├─ type
string
必须
├─ options
object []
必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ checked
boolean
必须
time
number
必须
时间戳
continent
string
非必须
大洲
region
string
非必须
国家或地区
age
string
非必须
年龄
callback_params
string
非必须
第三方回调自定义参数
channel
string
非必须
渠道
返回数据
data
object
非必须
├─ id
string
非必须
用户答题ID
接口地址
请求参数
Headers
Content-Type
application/json
是
路径参数
surveyId
问卷id
Body
client_id
string
非必须
query_string
string
非必须
time
number
非必须
answer_id
string
必须
答卷id
answer_finished
boolean
必须
问卷是否已完成
answers
object []
非必须
item 类型: object
├─ id
string
必须
├─ type
string
必须
├─ options
object []
必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
接口地址
请求参数
路径参数
id
返回数据
data
object
非必须
├─ _id
string
非必须
├─ tips
string
非必须
提示语
├─ random
boolean
非必须
随机排序
├─ surveys
object []
非必须
问卷列表
item 类型: object
├─ button
string
必须
按钮文本
├─ remark
string
必须
├─ surveyId
string
必须
问卷id
├─ relationships
object
非必须
接口地址
请求参数
Headers
Content-Type
multipart/form-data
是
Body
attachment
file
是
返回数据
data
object
非必须
├─ file_name
string
非必须
├─ file_cdn_url
string
非必须
├─ file_origin_url
string
非必须
├─ is_success
boolean
非必须
接口地址
请求参数
Headers
Content-Type
multipart/form-data
是
Body
attachments
file
是
附件多选
返回数据
data
object []
非必须
item 类型: object
├─ file_name
string
必须
文件名
├─ file_cdn_url
string
必须
cdn链接,用于答题端展示
├─ file_origin_url
string
必须
真实url,用于提交数据
├─ is_success
boolean
必须
该图片是否上传成功
接口地址
接口描述
请求参数
Headers
Content-Type
application/x-www-form-urlencoded
是
Referer
是
https://test.a.imur.tencent.com/answer?sid=5f16524076051f1332527962&ADTAG=sid.5f16524076051f1332527962&lang=zh-CHT&sPlatId=0&sArea=1&sPartition=10019&sRoleId=7qb-hpfqo-2
游戏角色参数
路径参数
id
5f16527a8787be002e44aef2
问卷id
返回数据
data
object
必须
├─ package_id
number
必须
礼包id
├─ package_name
string
必须
礼包名称
├─ package_num
number
必须
礼包数量
接口地址
请求参数
路径参数
id
返回数据
data
object
必须
├─ _id
string
必须
├─ package_group_id
string
必须
礼包组id
├─ package_id
null
必须
├─ package_name
string
必须
├─ package_num
null
必须
├─ ret_code
number
必须
ams状态码
├─ status
boolean
必须
true:领取成功 false:领取失败
接口地址
请求参数
路径参数
sid
data
object
非必须
├─ _id
string
非必须
├─ answers
object []
非必须
item 类型: object
├─ id
string
必须
├─ type
string
必须
├─ options
object []
必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ name
string
必须
├─ text
string
非必须
├─ value
number
非必须
├─ groups
object
必须
├─ GDTe
object []
非必须
item 类型: object
├─ id
string
非必须
├─ text
string
非必须
├─ TCPd
object []
非必须
item 类型: object
├─ id
string
非必须
├─ text
string
非必须
├─ XIIj
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ ZALi
object []
非必须
item 类型: object
├─ id
string
非必须
├─ text
string
非必须
├─ MHVo
number
非必须
├─ YGWn
number
非必须
├─ IIPs
number
非必须
├─ WTLr
number
非必须
├─ subTitles
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ survey
object
非必须
├─ pages
object []
非必须
item 类型: object
├─ id
string
必须
├─ questions
string []
必须
item 类型: string
├─
非必须
├─ questions
object
非必须
├─ ATVb
object
非必须
├─ abnormalOptionText
null
非必须
├─ description
null
非必须
├─ fractionReverse
boolean
非必须
├─ hasAbnormalOption
boolean
非必须
├─ id
string
非必须
├─ maxValue
number
非必须
├─ minValue
number
非必须
├─ randomReverse
boolean
非必须
├─ relateBy
null
非必须
├─ relateCondition
string
非必须
├─ relateFor
string []
非必须
item 类型: string
├─
非必须
├─ required
boolean
非必须
├─ tipsText
string []
非必须
item 类型: string
├─
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ DBI1
object
非必须
├─ blank
boolean
非必须
├─ description
null
非必须
├─ id
string
非必须
├─ lastOptionFixed
boolean
非必须
├─ options
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ preLineNum
number
非必须
├─ random
boolean
非必须
├─ randomGroup
boolean
非必须
├─ randomGroupSetting
object
非必须
├─ random
boolean
非必须
├─ randomReverse
boolean
非必须
├─ relateBy
null
非必须
├─ relateCondition
string
非必须
├─ relateFor
string []
非必须
item 类型: string
├─
非必须
├─ required
boolean
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ verticalLineNum
number
非必须
├─ JVJ4
object
非必须
├─ blank
boolean
非必须
├─ description
null
非必须
├─ exclusive
boolean
非必须
├─ id
string
非必须
├─ lastOptionFixed
boolean
非必须
├─ optionalMax
number
非必须
├─ optionalMin
number
非必须
├─ options
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ preLineNum
number
非必须
├─ random
boolean
非必须
├─ randomGroup
boolean
非必须
├─ randomGroupSetting
object
非必须
├─ random
boolean
非必须
├─ randomReverse
boolean
非必须
├─ relateBy
null
非必须
├─ relateCondition
string
非必须
├─ relateFor
string []
非必须
item 类型: string
├─
非必须
├─ required
boolean
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ verticalLineNum
number
非必须
├─ MDNz
object
非必须
├─ id
string
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ NBDc
object
非必须
├─ blank
boolean
非必须
├─ description
null
非必须
├─ horizontalDisplay
boolean
非必须
├─ horizontalLineNum
number
非必须
├─ id
string
非必须
├─ lastOptionFixed
boolean
非必须
├─ options
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ questionLastOptionFixed
boolean
非必须
├─ questionRandom
boolean
非必须
├─ questionRandomReverse
boolean
非必须
├─ questionRelateBy
null
非必须
├─ questionRelateCondition
string
非必须
├─ random
boolean
非必须
├─ randomReverse
boolean
非必须
├─ relateBy
null
非必须
├─ relateCondition
string
非必须
├─ required
boolean
非必须
├─ subTitles
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ title
string
非必须
├─ type
string
非必须
├─ verticalDisplay
boolean
非必须
├─ verticalLineNum
number
非必须
├─ NDXa
object
非必须
├─ description
null
非必须
├─ id
string
非必须
├─ inputMax
number
非必须
├─ inputMin
number
非必须
├─ inputRule
string
非必须
├─ inputSize
string
非必须
├─ required
boolean
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ PHZp
object
非必须
├─ description
null
非必须
├─ id
string
非必须
├─ required
boolean
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ uploadMax
number
非必须
├─ QHRu
object
非必须
├─ description
null
非必须
├─ id
string
非必须
├─ options
object []
非必须
item 类型: object
├─ children
object []
非必须
item 类型: object
├─ id
string
非必须
├─ name
string
非必须
├─ id
string
非必须
├─ name
string
非必须
├─ required
boolean
非必须
├─ subTitles
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ title
string
非必须
├─ type
string
非必须
├─ QYOm
object
非必须
├─ abnormalOptionText
null
非必须
├─ description
null
非必须
├─ fractionReverse
boolean
非必须
├─ hasAbnormalOption
boolean
非必须
├─ horizontalDisplay
boolean
非必须
├─ id
string
非必须
├─ maxValue
number
非必须
├─ minValue
number
非必须
├─ questionLastOptionFixed
boolean
非必须
├─ questionRandom
boolean
非必须
├─ questionRandomReverse
boolean
非必须
├─ questionRelateBy
null
非必须
├─ questionRelateCondition
string
非必须
├─ randomReverse
boolean
非必须
├─ required
boolean
非必须
├─ subTitles
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ tipsText
string []
非必须
item 类型: string
├─
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ verticalDisplay
boolean
非必须
├─ TCGq
object
非必须
├─ description
null
非必须
├─ id
string
非必须
├─ lastOptionFixed
boolean
非必须
├─ limitNum
number
非必须
├─ options
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ random
boolean
非必须
├─ randomGroup
boolean
非必须
├─ randomGroupSetting
object
非必须
├─ random
boolean
非必须
├─ randomReverse
boolean
非必须
├─ relateBy
null
非必须
├─ relateCondition
string
非必须
├─ required
boolean
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ XYW7
object
非必须
├─ description
null
非必须
├─ id
string
非必须
├─ lastOptionFixed
boolean
非必须
├─ options
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ preLineNum
number
非必须
├─ random
boolean
非必须
├─ randomGroup
boolean
非必须
├─ randomGroupSetting
object
非必须
├─ random
boolean
非必须
├─ randomReverse
boolean
非必须
├─ relateBy
null
非必须
├─ relateCondition
string
非必须
├─ relateFor
string []
非必须
item 类型: string
├─
非必须
├─ required
boolean
非必须
├─ title
string
非必须
├─ type
string
非必须
├─ YBAh
object
非必须
├─ blank
boolean
非必须
├─ description
null
非必须
├─ exclusive
boolean
非必须
├─ horizontalDisplay
boolean
非必须
├─ horizontalLineNum
number
非必须
├─ id
string
非必须
├─ lastOptionFixed
boolean
非必须
├─ optionalMax
number
非必须
├─ optionalMin
number
非必须
├─ options
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ questionLastOptionFixed
boolean
非必须
├─ questionRandom
boolean
非必须
├─ questionRandomReverse
boolean
非必须
├─ questionRelateBy
null
非必须
├─ questionRelateCondition
string
非必须
├─ random
boolean
非必须
├─ randomReverse
boolean
非必须
├─ relateBy
null
非必须
├─ relateCondition
string
非必须
├─ required
boolean
非必须
├─ subTitles
object []
非必须
item 类型: object
├─ id
string
必须
├─ text
string
必须
├─ title
string
非必须
├─ type
string
非必须
├─ verticalDisplay
boolean
非必须
├─ verticalLineNum
number
非必须