POST api/questionstest/savequestionbank
保存问卷题库
Request Information
URI Parameters
None.
Body Parameters
QuestionBankName | Description | Type | Additional information |
---|---|---|---|
Id |
主键ID |
integer |
None. |
PId |
父级ID |
integer |
None. |
Name |
名称 |
string |
Max length: 100 |
Path |
层级路径 |
string |
Max length: 4000 |
CreatedBy |
创建人 |
string |
Max length: 36 |
CreatedTime |
创建时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "PId": 2, "Name": "sample string 3", "Path": "sample string 4", "CreatedBy": "sample string 5", "CreatedTime": "2024-09-25T00:10:25.1560075+08:00" }
text/html
Sample:
{"Id":1,"PId":2,"Name":"sample string 3","Path":"sample string 4","CreatedBy":"sample string 5","CreatedTime":"2024-09-25T00:10:25.1560075+08:00"}
application/xml, text/xml
Sample:
<QuestionBank xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <CreatedBy>sample string 5</CreatedBy> <CreatedTime>2024-09-25T00:10:25.1560075+08:00</CreatedTime> <Id>1</Id> <Name>sample string 3</Name> <PId>2</PId> <Path>sample string 4</Path> </QuestionBank>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存问卷题库
JsonRtnDtoOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": 2 }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":2}
application/xml, text/xml
Sample:
<JsonRtnDtoOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>2</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfint>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":2});