GET api/DingExam/ViewQuestById?QueId={QueId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
QueId

integer

Required

Body Parameters

None.

Response Information

Resource Description

BaseResponseOfQuestionRsponse
NameDescriptionTypeAdditional information
data

QuestionRsponse

None.

msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "Id": 1,
    "DepId": 1,
    "NType": 1,
    "PId": 1,
    "PName": "sample string 2",
    "SContent": "sample string 3",
    "SEasy": "sample string 4",
    "SRight": "sample string 5",
    "IsCollect": 6,
    "SRemark": "sample string 7",
    "AddEmp": "sample string 8",
    "Answers": [
      {
        "Id": 1,
        "SSort": "sample string 2",
        "Answer": "sample string 3",
        "IsRight": 4
      },
      {
        "Id": 1,
        "SSort": "sample string 2",
        "Answer": "sample string 3",
        "IsRight": 4
      }
    ]
  },
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}

application/xml, text/xml

Sample:
<BaseResponseOfQuestionRsponsewByyLw_Px xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
  <code>2</code>
  <msg>sample string 1</msg>
  <total>3</total>
  <data>
    <AddEmp>sample string 8</AddEmp>
    <Answers>
      <AnswerModel>
        <Answer>sample string 3</Answer>
        <Id>1</Id>
        <IsRight>4</IsRight>
        <SSort>sample string 2</SSort>
      </AnswerModel>
      <AnswerModel>
        <Answer>sample string 3</Answer>
        <Id>1</Id>
        <IsRight>4</IsRight>
        <SSort>sample string 2</SSort>
      </AnswerModel>
    </Answers>
    <DepId>1</DepId>
    <Id>1</Id>
    <IsCollect>6</IsCollect>
    <NType>1</NType>
    <PId>1</PId>
    <PName>sample string 2</PName>
    <SContent>sample string 3</SContent>
    <SEasy>sample string 4</SEasy>
    <SRemark>sample string 7</SRemark>
    <SRight>sample string 5</SRight>
  </data>
</BaseResponseOfQuestionRsponsewByyLw_Px>