文档
测试

[OK]-MBTI测评结果-getMbtiReport

POST
/api/assess/getMbtiReport

接口描述

根据答题情况,返回测评结果

请求头

参数名
类型
描述
必填
Content-Type
string
application/x-www-form-urlencoded
必填
sessionHeaderKey
string
小程序使用,识别用户身份
必填
token
string
易考吧用户身份
必填

请求参数

参数名
类型
描述
必填
choice
array
用户选项数组
必填

正确返回

参数名
类型
描述
必填
code
number
错误码,0正确,100~200为用户操作错误,其他则为服务器错误
必填
data
object
测评结果数据
必填
total_score
string
必填
user_answer
string
必填
type_char
string
必填

错误返回

参数名
类型
描述
必填
code
number
错误码,0正确,100~200为用户操作错误,其他则为服务器错误
必填
message
string
错误原因
必填