POST {version}/User/CreateMyErrorQuestion

我的错题明细中提交错题

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

UserExamDto
NameDescriptionTypeAdditional information
MyKey

用户答案

string

None.

QuestionID

试题编码

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MyKey": "sample string 1",
  "QuestionID": "sample string 2"
}

application/xml, text/xml

Sample:
<UserExamDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eshikao.Models.Question">
  <MyKey>sample string 1</MyKey>
  <QuestionID>sample string 2</QuestionID>
</UserExamDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserExamDto'.

Response Information

Resource Description

ApiResultOfQuestionInfoDto
NameDescriptionTypeAdditional information
Code

string

None.

Message

string

None.

Data

QuestionInfoDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Message": "sample string 2",
  "Data": {
    "Key": "sample string 1",
    "Resolve": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ApiResultOfQuestionInfoDtoF2xKsV4k xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TinyFx.Web.Results">
  <Code>sample string 1</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eshikao.Models">
    <d2p1:Key>sample string 1</d2p1:Key>
    <d2p1:Resolve>sample string 2</d2p1:Resolve>
  </Data>
  <Message>sample string 2</Message>
</ApiResultOfQuestionInfoDtoF2xKsV4k>