POST api/classroomperformance/saveclassprepareweb

保存备课信息

Request Information

URI Parameters

None.

Body Parameters

备课实体信息

ClassPrepare
NameDescriptionTypeAdditional information
QuestionsId

试题ID

globally unique identifier

None.

Title

试题标题

string

None.

Answer

答案

string

None.

UserId

创建人

integer

None.

IsSubjective

是否主观题

boolean

None.

FromReTest

是否来自试题库

boolean

None.

Id

主键

globally unique identifier

None.

CreatedTime

创建时间

date

None.

IsDeleted

是否删除

boolean

None.

LastUpdatedTime

最后更新时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "QuestionsId": "15f75c39-0cd5-4172-a61c-f2b1ec3c6121",
  "Title": "sample string 2",
  "Answer": "sample string 3",
  "UserId": 4,
  "IsSubjective": true,
  "FromReTest": true,
  "Id": "a3d18acc-0e2e-4c15-b04c-53500ac4e126",
  "CreatedTime": "2024-09-25T00:12:06.3442859+08:00",
  "IsDeleted": true,
  "LastUpdatedTime": "2024-09-25T00:12:06.3442859+08:00"
}

text/html

Sample:
{"QuestionsId":"15f75c39-0cd5-4172-a61c-f2b1ec3c6121","Title":"sample string 2","Answer":"sample string 3","UserId":4,"IsSubjective":true,"FromReTest":true,"Id":"a3d18acc-0e2e-4c15-b04c-53500ac4e126","CreatedTime":"2024-09-25T00:12:06.3442859+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:12:06.3442859+08:00"}

application/xml, text/xml

Sample:
<ClassPrepare xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <CreatedTime>2024-09-25T00:12:06.3442859+08:00</CreatedTime>
  <Id>a3d18acc-0e2e-4c15-b04c-53500ac4e126</Id>
  <IsDeleted>true</IsDeleted>
  <LastUpdatedTime>2024-09-25T00:12:06.3442859+08:00</LastUpdatedTime>
  <Answer>sample string 3</Answer>
  <FromReTest>true</FromReTest>
  <IsSubjective>true</IsSubjective>
  <QuestionsId>15f75c39-0cd5-4172-a61c-f2b1ec3c6121</QuestionsId>
  <Title>sample string 2</Title>
  <UserId>4</UserId>
</ClassPrepare>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存备课信息

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});