POST api/answer/reply
答案提交接口
Request Information
URI Parameters
None.
Body Parameters
答案详情
AnswerDtoName | Description | Type | Additional information |
---|---|---|---|
AnswerInfo |
答案 |
string |
None. |
TestId |
试题编号 |
globally unique identifier |
None. |
ExamId |
习题编号 |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "AnswerInfo": "sample string 1", "TestId": "3a7065e6-ecee-4e7c-9d0c-b2d452aabad3", "ExamId": "a80fe56d-f14c-4ff6-965c-6d26f05d17ea" }
text/html
Sample:
{"AnswerInfo":"sample string 1","TestId":"3a7065e6-ecee-4e7c-9d0c-b2d452aabad3","ExamId":"a80fe56d-f14c-4ff6-965c-6d26f05d17ea"}
application/xml, text/xml
Sample:
<AnswerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <AnswerInfo>sample string 1</AnswerInfo> <ExamId>a80fe56d-f14c-4ff6-965c-6d26f05d17ea</ExamId> <TestId>3a7065e6-ecee-4e7c-9d0c-b2d452aabad3</TestId> </AnswerDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
答案提交接口
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});