POST api/questionstest/saveqpaperanswer
保存答案
Request Information
URI Parameters
None.
Body Parameters
QPaperAnswerListDtoName | Description | Type | Additional information |
---|---|---|---|
QPaperAnswerList |
答案集合 |
Collection of QPaperAnswer |
None. |
Request Formats
application/json, text/json
Sample:
{ "QPaperAnswerList": [ { "QuestionsPaperId": "sample string 1", "QuestionsTestId": "sample string 2", "PeopleId": "sample string 3", "Answer": "sample string 4", "AnswerRemark": "sample string 5", "CreatedTime": "2024-09-25T00:06:05.2811451+08:00" }, { "QuestionsPaperId": "sample string 1", "QuestionsTestId": "sample string 2", "PeopleId": "sample string 3", "Answer": "sample string 4", "AnswerRemark": "sample string 5", "CreatedTime": "2024-09-25T00:06:05.2811451+08:00" } ] }
text/html
Sample:
{"QPaperAnswerList":[{"QuestionsPaperId":"sample string 1","QuestionsTestId":"sample string 2","PeopleId":"sample string 3","Answer":"sample string 4","AnswerRemark":"sample string 5","CreatedTime":"2024-09-25T00:06:05.2811451+08:00"},{"QuestionsPaperId":"sample string 1","QuestionsTestId":"sample string 2","PeopleId":"sample string 3","Answer":"sample string 4","AnswerRemark":"sample string 5","CreatedTime":"2024-09-25T00:06:05.2811451+08:00"}]}
application/xml, text/xml
Sample:
<QPaperAnswerListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <QPaperAnswerList xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:QPaperAnswer> <d2p1:Answer>sample string 4</d2p1:Answer> <d2p1:AnswerRemark>sample string 5</d2p1:AnswerRemark> <d2p1:CreatedTime>2024-09-25T00:06:05.2811451+08:00</d2p1:CreatedTime> <d2p1:PeopleId>sample string 3</d2p1:PeopleId> <d2p1:QuestionsPaperId>sample string 1</d2p1:QuestionsPaperId> <d2p1:QuestionsTestId>sample string 2</d2p1:QuestionsTestId> </d2p1:QPaperAnswer> <d2p1:QPaperAnswer> <d2p1:Answer>sample string 4</d2p1:Answer> <d2p1:AnswerRemark>sample string 5</d2p1:AnswerRemark> <d2p1:CreatedTime>2024-09-25T00:06:05.2811451+08:00</d2p1:CreatedTime> <d2p1:PeopleId>sample string 3</d2p1:PeopleId> <d2p1:QuestionsPaperId>sample string 1</d2p1:QuestionsPaperId> <d2p1:QuestionsTestId>sample string 2</d2p1:QuestionsTestId> </d2p1:QPaperAnswer> </QPaperAnswerList> </QPaperAnswerListDto>
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});