POST v1/api/HrQu/GetInductionTest
获取已有小测试问题
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of InductionTestQu| Name | Description | Type | Additional information |
|---|---|---|---|
| question |
问题 |
string |
None. |
| Opts |
选项 |
Collection of InductionTestOpt |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"question": "sample string 1",
"Opts": [
{
"optCode": "sample string 1",
"optContent": "sample string 2"
},
{
"optCode": "sample string 1",
"optContent": "sample string 2"
}
]
},
{
"question": "sample string 1",
"Opts": [
{
"optCode": "sample string 1",
"optContent": "sample string 2"
},
{
"optCode": "sample string 1",
"optContent": "sample string 2"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfInductionTestQu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrQuestions">
<InductionTestQu>
<Opts>
<InductionTestOpt>
<optCode>sample string 1</optCode>
<optContent>sample string 2</optContent>
</InductionTestOpt>
<InductionTestOpt>
<optCode>sample string 1</optCode>
<optContent>sample string 2</optContent>
</InductionTestOpt>
</Opts>
<question>sample string 1</question>
</InductionTestQu>
<InductionTestQu>
<Opts>
<InductionTestOpt>
<optCode>sample string 1</optCode>
<optContent>sample string 2</optContent>
</InductionTestOpt>
<InductionTestOpt>
<optCode>sample string 1</optCode>
<optContent>sample string 2</optContent>
</InductionTestOpt>
</Opts>
<question>sample string 1</question>
</InductionTestQu>
</ArrayOfInductionTestQu>