GET api/questionstest/getquestionspaper?Id={Id}

获取问卷试卷

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

主键ID

string

Required

Body Parameters

None.

Response Information

Resource Description

获取问卷试卷

JsonRtnDtoOfQuestionsPaperDto
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

QuestionsPaperDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "PaperUsers": [
      {
        "UserID": 1,
        "StructureID": "sample string 2",
        "RolesID": 3,
        "AccountName": "sample string 4",
        "UserName": "sample string 5",
        "Alias": "sample string 6",
        "Gender": "sample string 7",
        "LoginPassword": "sample string 8",
        "EmployeeID": "sample string 9",
        "Business": "sample string 10",
        "Station": "sample string 11",
        "Certificate": "sample string 12",
        "PhoneCode": "sample string 13",
        "Email": "sample string 14",
        "Photo": "sample string 15",
        "Status": 16,
        "CreateDate": "2024-09-25T00:05:12.9199859+08:00",
        "UserMark": 1,
        "Phone": "sample string 17",
        "Identification": "sample string 18",
        "IsSystem": true,
        "Origin": 1,
        "EnableWatermark": true,
        "Watermark": "sample string 21",
        "ExpirationTime": "2024-09-25T00:05:12.9199859+08:00",
        "OpenId": "sample string 22"
      },
      {
        "UserID": 1,
        "StructureID": "sample string 2",
        "RolesID": 3,
        "AccountName": "sample string 4",
        "UserName": "sample string 5",
        "Alias": "sample string 6",
        "Gender": "sample string 7",
        "LoginPassword": "sample string 8",
        "EmployeeID": "sample string 9",
        "Business": "sample string 10",
        "Station": "sample string 11",
        "Certificate": "sample string 12",
        "PhoneCode": "sample string 13",
        "Email": "sample string 14",
        "Photo": "sample string 15",
        "Status": 16,
        "CreateDate": "2024-09-25T00:05:12.9199859+08:00",
        "UserMark": 1,
        "Phone": "sample string 17",
        "Identification": "sample string 18",
        "IsSystem": true,
        "Origin": 1,
        "EnableWatermark": true,
        "Watermark": "sample string 21",
        "ExpirationTime": "2024-09-25T00:05:12.9199859+08:00",
        "OpenId": "sample string 22"
      }
    ],
    "PaperTest": [
      {
        "QuestionsOptions": [
          {
            "Id": 1,
            "QuestionsTestId": "sample string 2",
            "OptionAnswer": "sample string 3",
            "OptionInfo": "sample string 4"
          },
          {
            "Id": 1,
            "QuestionsTestId": "sample string 2",
            "OptionAnswer": "sample string 3",
            "OptionInfo": "sample string 4"
          }
        ],
        "TestIndex": 1,
        "AnswerList": [
          {},
          {}
        ],
        "Id": "sample string 2",
        "Title": "sample string 3",
        "ExpectedAnswer": "sample string 4",
        "QuestionBankId": 5,
        "QTCategory": 0,
        "CreatedBy": "sample string 6",
        "IsDeleted": true,
        "CreatedTime": "2024-09-25T00:05:12.9199859+08:00"
      },
      {
        "QuestionsOptions": [
          {
            "Id": 1,
            "QuestionsTestId": "sample string 2",
            "OptionAnswer": "sample string 3",
            "OptionInfo": "sample string 4"
          },
          {
            "Id": 1,
            "QuestionsTestId": "sample string 2",
            "OptionAnswer": "sample string 3",
            "OptionInfo": "sample string 4"
          }
        ],
        "TestIndex": 1,
        "AnswerList": [
          {},
          {}
        ],
        "Id": "sample string 2",
        "Title": "sample string 3",
        "ExpectedAnswer": "sample string 4",
        "QuestionBankId": 5,
        "QTCategory": 0,
        "CreatedBy": "sample string 6",
        "IsDeleted": true,
        "CreatedTime": "2024-09-25T00:05:12.9199859+08:00"
      }
    ],
    "Id": "sample string 1",
    "PaperName": "sample string 2",
    "IsEnable": true,
    "Introduce": "sample string 4",
    "CreatedBy": "sample string 5",
    "UpdatedBy": "sample string 6",
    "UpdatedTime": "2024-09-25T00:05:12.9199859+08:00",
    "CreatedTime": "2024-09-25T00:05:12.9199859+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"PaperUsers":[{"UserID":1,"StructureID":"sample string 2","RolesID":3,"AccountName":"sample string 4","UserName":"sample string 5","Alias":"sample string 6","Gender":"sample string 7","LoginPassword":"sample string 8","EmployeeID":"sample string 9","Business":"sample string 10","Station":"sample string 11","Certificate":"sample string 12","PhoneCode":"sample string 13","Email":"sample string 14","Photo":"sample string 15","Status":16,"CreateDate":"2024-09-25T00:05:12.9199859+08:00","UserMark":1,"Phone":"sample string 17","Identification":"sample string 18","IsSystem":true,"Origin":1,"EnableWatermark":true,"Watermark":"sample string 21","ExpirationTime":"2024-09-25T00:05:12.9199859+08:00","OpenId":"sample string 22"},{"UserID":1,"StructureID":"sample string 2","RolesID":3,"AccountName":"sample string 4","UserName":"sample string 5","Alias":"sample string 6","Gender":"sample string 7","LoginPassword":"sample string 8","EmployeeID":"sample string 9","Business":"sample string 10","Station":"sample string 11","Certificate":"sample string 12","PhoneCode":"sample string 13","Email":"sample string 14","Photo":"sample string 15","Status":16,"CreateDate":"2024-09-25T00:05:12.9199859+08:00","UserMark":1,"Phone":"sample string 17","Identification":"sample string 18","IsSystem":true,"Origin":1,"EnableWatermark":true,"Watermark":"sample string 21","ExpirationTime":"2024-09-25T00:05:12.9199859+08:00","OpenId":"sample string 22"}],"PaperTest":[{"QuestionsOptions":[{"Id":1,"QuestionsTestId":"sample string 2","OptionAnswer":"sample string 3","OptionInfo":"sample string 4"},{"Id":1,"QuestionsTestId":"sample string 2","OptionAnswer":"sample string 3","OptionInfo":"sample string 4"}],"TestIndex":1,"AnswerList":[{},{}],"Id":"sample string 2","Title":"sample string 3","ExpectedAnswer":"sample string 4","QuestionBankId":5,"QTCategory":0,"CreatedBy":"sample string 6","IsDeleted":true,"CreatedTime":"2024-09-25T00:05:12.9199859+08:00"},{"QuestionsOptions":[{"Id":1,"QuestionsTestId":"sample string 2","OptionAnswer":"sample string 3","OptionInfo":"sample string 4"},{"Id":1,"QuestionsTestId":"sample string 2","OptionAnswer":"sample string 3","OptionInfo":"sample string 4"}],"TestIndex":1,"AnswerList":[{},{}],"Id":"sample string 2","Title":"sample string 3","ExpectedAnswer":"sample string 4","QuestionBankId":5,"QTCategory":0,"CreatedBy":"sample string 6","IsDeleted":true,"CreatedTime":"2024-09-25T00:05:12.9199859+08:00"}],"Id":"sample string 1","PaperName":"sample string 2","IsEnable":true,"Introduce":"sample string 4","CreatedBy":"sample string 5","UpdatedBy":"sample string 6","UpdatedTime":"2024-09-25T00:05:12.9199859+08:00","CreatedTime":"2024-09-25T00:05:12.9199859+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfQuestionsPaperDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 5</CreatedBy>
    <CreatedTime xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">2024-09-25T00:05:12.9199859+08:00</CreatedTime>
    <Id xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 1</Id>
    <Introduce xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 4</Introduce>
    <IsEnable xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">true</IsEnable>
    <PaperName xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 2</PaperName>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 6</UpdatedBy>
    <UpdatedTime xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">2024-09-25T00:05:12.9199859+08:00</UpdatedTime>
    <PaperTest>
      <QuestionsTestDto>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 6</CreatedBy>
        <CreatedTime xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">2024-09-25T00:05:12.9199859+08:00</CreatedTime>
        <ExpectedAnswer xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 4</ExpectedAnswer>
        <Id xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 2</Id>
        <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">true</IsDeleted>
        <QTCategory xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">单选题</QTCategory>
        <QuestionBankId xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">5</QuestionBankId>
        <Title xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 3</Title>
        <AnswerList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </AnswerList>
        <QuestionsOptions xmlns:d5p1="http://schemas.datacontract.org/2004/07/BJ.Data">
          <d5p1:QuestionsOptions>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:OptionAnswer>sample string 3</d5p1:OptionAnswer>
            <d5p1:OptionInfo>sample string 4</d5p1:OptionInfo>
            <d5p1:QuestionsTestId>sample string 2</d5p1:QuestionsTestId>
          </d5p1:QuestionsOptions>
          <d5p1:QuestionsOptions>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:OptionAnswer>sample string 3</d5p1:OptionAnswer>
            <d5p1:OptionInfo>sample string 4</d5p1:OptionInfo>
            <d5p1:QuestionsTestId>sample string 2</d5p1:QuestionsTestId>
          </d5p1:QuestionsOptions>
        </QuestionsOptions>
        <TestIndex>1</TestIndex>
      </QuestionsTestDto>
      <QuestionsTestDto>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 6</CreatedBy>
        <CreatedTime xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">2024-09-25T00:05:12.9199859+08:00</CreatedTime>
        <ExpectedAnswer xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 4</ExpectedAnswer>
        <Id xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 2</Id>
        <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">true</IsDeleted>
        <QTCategory xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">单选题</QTCategory>
        <QuestionBankId xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">5</QuestionBankId>
        <Title xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">sample string 3</Title>
        <AnswerList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </AnswerList>
        <QuestionsOptions xmlns:d5p1="http://schemas.datacontract.org/2004/07/BJ.Data">
          <d5p1:QuestionsOptions>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:OptionAnswer>sample string 3</d5p1:OptionAnswer>
            <d5p1:OptionInfo>sample string 4</d5p1:OptionInfo>
            <d5p1:QuestionsTestId>sample string 2</d5p1:QuestionsTestId>
          </d5p1:QuestionsOptions>
          <d5p1:QuestionsOptions>
            <d5p1:Id>1</d5p1:Id>
            <d5p1:OptionAnswer>sample string 3</d5p1:OptionAnswer>
            <d5p1:OptionInfo>sample string 4</d5p1:OptionInfo>
            <d5p1:QuestionsTestId>sample string 2</d5p1:QuestionsTestId>
          </d5p1:QuestionsOptions>
        </QuestionsOptions>
        <TestIndex>1</TestIndex>
      </QuestionsTestDto>
    </PaperTest>
    <PaperUsers xmlns:d3p1="http://schemas.datacontract.org/2004/07/BJ.Data">
      <d3p1:Users>
        <d3p1:AccountName>sample string 4</d3p1:AccountName>
        <d3p1:Alias>sample string 6</d3p1:Alias>
        <d3p1:Business>sample string 10</d3p1:Business>
        <d3p1:Certificate>sample string 12</d3p1:Certificate>
        <d3p1:CreateDate>2024-09-25T00:05:12.9199859+08:00</d3p1:CreateDate>
        <d3p1:Email>sample string 14</d3p1:Email>
        <d3p1:EmployeeID>sample string 9</d3p1:EmployeeID>
        <d3p1:EnableWatermark>true</d3p1:EnableWatermark>
        <d3p1:ExpirationTime>2024-09-25T00:05:12.9199859+08:00</d3p1:ExpirationTime>
        <d3p1:Gender>sample string 7</d3p1:Gender>
        <d3p1:Identification>sample string 18</d3p1:Identification>
        <d3p1:IsSystem>true</d3p1:IsSystem>
        <d3p1:LoginPassword>sample string 8</d3p1:LoginPassword>
        <d3p1:OpenId>sample string 22</d3p1:OpenId>
        <d3p1:Origin>导入</d3p1:Origin>
        <d3p1:Phone>sample string 17</d3p1:Phone>
        <d3p1:PhoneCode>sample string 13</d3p1:PhoneCode>
        <d3p1:Photo>sample string 15</d3p1:Photo>
        <d3p1:RolesID>3</d3p1:RolesID>
        <d3p1:Station>sample string 11</d3p1:Station>
        <d3p1:Status>16</d3p1:Status>
        <d3p1:StructureID>sample string 2</d3p1:StructureID>
        <d3p1:UserID>1</d3p1:UserID>
        <d3p1:UserMark>1</d3p1:UserMark>
        <d3p1:UserName>sample string 5</d3p1:UserName>
        <d3p1:Watermark>sample string 21</d3p1:Watermark>
      </d3p1:Users>
      <d3p1:Users>
        <d3p1:AccountName>sample string 4</d3p1:AccountName>
        <d3p1:Alias>sample string 6</d3p1:Alias>
        <d3p1:Business>sample string 10</d3p1:Business>
        <d3p1:Certificate>sample string 12</d3p1:Certificate>
        <d3p1:CreateDate>2024-09-25T00:05:12.9199859+08:00</d3p1:CreateDate>
        <d3p1:Email>sample string 14</d3p1:Email>
        <d3p1:EmployeeID>sample string 9</d3p1:EmployeeID>
        <d3p1:EnableWatermark>true</d3p1:EnableWatermark>
        <d3p1:ExpirationTime>2024-09-25T00:05:12.9199859+08:00</d3p1:ExpirationTime>
        <d3p1:Gender>sample string 7</d3p1:Gender>
        <d3p1:Identification>sample string 18</d3p1:Identification>
        <d3p1:IsSystem>true</d3p1:IsSystem>
        <d3p1:LoginPassword>sample string 8</d3p1:LoginPassword>
        <d3p1:OpenId>sample string 22</d3p1:OpenId>
        <d3p1:Origin>导入</d3p1:Origin>
        <d3p1:Phone>sample string 17</d3p1:Phone>
        <d3p1:PhoneCode>sample string 13</d3p1:PhoneCode>
        <d3p1:Photo>sample string 15</d3p1:Photo>
        <d3p1:RolesID>3</d3p1:RolesID>
        <d3p1:Station>sample string 11</d3p1:Station>
        <d3p1:Status>16</d3p1:Status>
        <d3p1:StructureID>sample string 2</d3p1:StructureID>
        <d3p1:UserID>1</d3p1:UserID>
        <d3p1:UserMark>1</d3p1:UserMark>
        <d3p1:UserName>sample string 5</d3p1:UserName>
        <d3p1:Watermark>sample string 21</d3p1:Watermark>
      </d3p1:Users>
    </PaperUsers>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfQuestionsPaperDtov3CTEUQJ>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"PaperUsers":[{"UserID":1,"StructureID":"sample string 2","RolesID":3,"AccountName":"sample string 4","UserName":"sample string 5","Alias":"sample string 6","Gender":"sample string 7","LoginPassword":"sample string 8","EmployeeID":"sample string 9","Business":"sample string 10","Station":"sample string 11","Certificate":"sample string 12","PhoneCode":"sample string 13","Email":"sample string 14","Photo":"sample string 15","Status":16,"CreateDate":"2024-09-25T00:05:12.9199859+08:00","UserMark":1,"Phone":"sample string 17","Identification":"sample string 18","IsSystem":true,"Origin":1,"EnableWatermark":true,"Watermark":"sample string 21","ExpirationTime":"2024-09-25T00:05:12.9199859+08:00","OpenId":"sample string 22"},{"UserID":1,"StructureID":"sample string 2","RolesID":3,"AccountName":"sample string 4","UserName":"sample string 5","Alias":"sample string 6","Gender":"sample string 7","LoginPassword":"sample string 8","EmployeeID":"sample string 9","Business":"sample string 10","Station":"sample string 11","Certificate":"sample string 12","PhoneCode":"sample string 13","Email":"sample string 14","Photo":"sample string 15","Status":16,"CreateDate":"2024-09-25T00:05:12.9199859+08:00","UserMark":1,"Phone":"sample string 17","Identification":"sample string 18","IsSystem":true,"Origin":1,"EnableWatermark":true,"Watermark":"sample string 21","ExpirationTime":"2024-09-25T00:05:12.9199859+08:00","OpenId":"sample string 22"}],"PaperTest":[{"QuestionsOptions":[{"Id":1,"QuestionsTestId":"sample string 2","OptionAnswer":"sample string 3","OptionInfo":"sample string 4"},{"Id":1,"QuestionsTestId":"sample string 2","OptionAnswer":"sample string 3","OptionInfo":"sample string 4"}],"TestIndex":1,"AnswerList":[{},{}],"Id":"sample string 2","Title":"sample string 3","ExpectedAnswer":"sample string 4","QuestionBankId":5,"QTCategory":0,"CreatedBy":"sample string 6","IsDeleted":true,"CreatedTime":"2024-09-25T00:05:12.9199859+08:00"},{"QuestionsOptions":[{"Id":1,"QuestionsTestId":"sample string 2","OptionAnswer":"sample string 3","OptionInfo":"sample string 4"},{"Id":1,"QuestionsTestId":"sample string 2","OptionAnswer":"sample string 3","OptionInfo":"sample string 4"}],"TestIndex":1,"AnswerList":[{},{}],"Id":"sample string 2","Title":"sample string 3","ExpectedAnswer":"sample string 4","QuestionBankId":5,"QTCategory":0,"CreatedBy":"sample string 6","IsDeleted":true,"CreatedTime":"2024-09-25T00:05:12.9199859+08:00"}],"Id":"sample string 1","PaperName":"sample string 2","IsEnable":true,"Introduce":"sample string 4","CreatedBy":"sample string 5","UpdatedBy":"sample string 6","UpdatedTime":"2024-09-25T00:05:12.9199859+08:00","CreatedTime":"2024-09-25T00:05:12.9199859+08:00"}});