POST api/knowledge/update

修改知识点

Request Information

URI Parameters

None.

Body Parameters

KnowledgeUpdateDto
NameDescriptionTypeAdditional information
PcId

课程编号

integer

None.

Knowledge

知识点

string

None.

TargetKnowlede

目录知识点(修改前的知识点内容)

string

None.

SyncTest

是否同步到试题

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PcId": 1,
  "Knowledge": "sample string 2",
  "TargetKnowlede": "sample string 3",
  "SyncTest": true
}

text/html

Sample:
{"PcId":1,"Knowledge":"sample string 2","TargetKnowlede":"sample string 3","SyncTest":true}

application/xml, text/xml

Sample:
<KnowledgeUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Knowledge>sample string 2</Knowledge>
  <PcId>1</PcId>
  <SyncTest>true</SyncTest>
  <TargetKnowlede>sample string 3</TargetKnowlede>
</KnowledgeUpdateDto>

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});