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

获取问卷题库

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

主键ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取问卷题库

JsonRtnDtoOfQuestionBank
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

QuestionBank

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": 1,
    "PId": 2,
    "Name": "sample string 3",
    "Path": "sample string 4",
    "CreatedBy": "sample string 5",
    "CreatedTime": "2024-09-25T00:11:57.8120068+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"PId":2,"Name":"sample string 3","Path":"sample string 4","CreatedBy":"sample string 5","CreatedTime":"2024-09-25T00:11:57.8120068+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfQuestionBankmEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:CreatedBy>sample string 5</d2p1:CreatedBy>
    <d2p1:CreatedTime>2024-09-25T00:11:57.8120068+08:00</d2p1:CreatedTime>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:PId>2</d2p1:PId>
    <d2p1:Path>sample string 4</d2p1:Path>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfQuestionBankmEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"PId":2,"Name":"sample string 3","Path":"sample string 4","CreatedBy":"sample string 5","CreatedTime":"2024-09-25T00:11:57.8120068+08:00"}});