1. 获取题目
基础信息
接口地址:https://openapi.dajishizhijia.com/api/pdp/get_title
请求类型:post
接口说明:
请求参数
名称 | 类型 | 必选 | 参数说明 |
---|---|---|---|
access_token | string | 是 | 凭证 |
app_id | int | 是 | 应用id,请在控制台查看 |
survey_type | string | 是 | 测评类型,此接口为:PDP |
请求示例
{
"access_token":"xxxxxxxxxxxxx",
"app_id":12345678,
"survey_type":"PDP",
}
返回参数
名称 | 类型 | 必选 | 参数说明 |
---|---|---|---|
code | string | 是 | |
msg | string | 是 | |
data | 是 | 题目数据 | |
data.questions.title | string | 是 | 题目 |
data.questions.options.id | string | 是 | 得分id(用于提交数据接口data参数拼接) |
data.questions.options.title | string | 是 |