POST api/ppadmin/savecateset

保存课程的单个环节设置

Request Information

URI Parameters

None.

Body Parameters

LessonDataDto
NameDescriptionTypeAdditional information
LessonId

课程ID

string

None.

CateId

环节Id

string

None.

ApplyEndTime

申请关闭时间

string

None.

ApplyWarnTime

申请(截止)警告时间

string

None.

ReportEndTime

报告关闭时间

string

None.

ReportWarnTime

报告(截止)警告时间

string

None.

LeastWord

最少字数

integer

None.

Status

状态(true:已开启;false:已关闭)

boolean

None.

ArticleList

经典文献资料

Collection of string

None.

CaseswotInfo

网络案例资料

Collection of string

None.

ForumInfo

学术讲座资料

Collection of string

None.

RedSpot

红色景点资料

Collection of string

None.

Remark

备注

string

None.

TemporaryNames

临时的资料名称集合

string

None.

GroupMemberCount

每组人数

integer

None.

ImgCount

需要上传图片张数

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LessonId": "sample string 1",
  "CateId": "sample string 2",
  "ApplyEndTime": "sample string 3",
  "ApplyWarnTime": "sample string 4",
  "ReportEndTime": "sample string 5",
  "ReportWarnTime": "sample string 6",
  "LeastWord": 7,
  "Status": true,
  "ArticleList": [
    "sample string 1",
    "sample string 2"
  ],
  "CaseswotInfo": [
    "sample string 1",
    "sample string 2"
  ],
  "ForumInfo": [
    "sample string 1",
    "sample string 2"
  ],
  "RedSpot": [
    "sample string 1",
    "sample string 2"
  ],
  "Remark": "sample string 9",
  "TemporaryNames": "sample string 10",
  "GroupMemberCount": 11,
  "ImgCount": 12
}

text/html

Sample:
{"LessonId":"sample string 1","CateId":"sample string 2","ApplyEndTime":"sample string 3","ApplyWarnTime":"sample string 4","ReportEndTime":"sample string 5","ReportWarnTime":"sample string 6","LeastWord":7,"Status":true,"ArticleList":["sample string 1","sample string 2"],"CaseswotInfo":["sample string 1","sample string 2"],"ForumInfo":["sample string 1","sample string 2"],"RedSpot":["sample string 1","sample string 2"],"Remark":"sample string 9","TemporaryNames":"sample string 10","GroupMemberCount":11,"ImgCount":12}

application/xml, text/xml

Sample:
<LessonDataDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <ApplyEndTime>sample string 3</ApplyEndTime>
  <ApplyWarnTime>sample string 4</ApplyWarnTime>
  <ArticleList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ArticleList>
  <CaseswotInfo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CaseswotInfo>
  <CateId>sample string 2</CateId>
  <ForumInfo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ForumInfo>
  <GroupMemberCount>11</GroupMemberCount>
  <ImgCount>12</ImgCount>
  <LeastWord>7</LeastWord>
  <LessonId>sample string 1</LessonId>
  <RedSpot xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </RedSpot>
  <Remark>sample string 9</Remark>
  <ReportEndTime>sample string 5</ReportEndTime>
  <ReportWarnTime>sample string 6</ReportWarnTime>
  <Status>true</Status>
  <TemporaryNames>sample string 10</TemporaryNames>
</LessonDataDto>

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