POST Research/CreateResearch
完成报告 or 测试 or 反馈
Request Information
URI Parameters
None.
Body Parameters
CreateResearchArgument| Name | Description | Type | Additional information |
|---|---|---|---|
| source |
来源 1 微信 2 APP |
integer |
None. |
| token |
用户凭证 1.微信需要传递openid(客户端缓存获取) 2.app 需要传递 token |
string |
None. |
| restype |
问卷种类 1.儿童问卷 2.家长自测 3.试用反馈报告 |
string |
None. |
| name |
姓名 |
string |
None. |
| birthday |
生日 |
string |
None. |
| sex |
性别 |
integer |
None. |
| result |
提交结果 |
string |
None. |
| point |
得分 |
string |
None. |
| imgurl |
图片url |
string |
None. |
| age |
年龄 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "200",
"data": {
"source": 1,
"token": "sample string 2",
"restype": "sample string 3",
"name": "sample string 4",
"birthday": "sample string 5",
"sex": 6,
"result": "sample string 7",
"point": "sample string 8",
"imgurl": "sample string 9",
"age": 10
},
"msg": null
}
application/xml, text/xml
Sample:
<CreateResearchArgument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Parameter"> <age>10</age> <birthday>sample string 5</birthday> <imgurl>sample string 9</imgurl> <name>sample string 4</name> <point>sample string 8</point> <restype>sample string 3</restype> <result>sample string 7</result> <sex>6</sex> <source>1</source> <token>sample string 2</token> </CreateResearchArgument>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
完成报告 or 测试 or 反馈
booleanResponse Formats
application/json, text/json
Sample:
{
"code": "200",
"data": true,
"msg": null
}
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>