POST api/courses/signsetting

设置报名方式

Request Information

URI Parameters

None.

Body Parameters

SignSetting
NameDescriptionTypeAdditional information
CourseId

课程编号

globally unique identifier

None.

Setting

设置 0.未设置 -100.所有学员 1.指学员 -200.公开

integer

None.

CreatedTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CourseId": "fc9e0c43-5c44-46ae-a194-c2d2f6d4f5ce",
  "Setting": 2,
  "CreatedTime": "2024-09-25T00:09:04.9999473+08:00"
}

text/html

Sample:
{"CourseId":"fc9e0c43-5c44-46ae-a194-c2d2f6d4f5ce","Setting":2,"CreatedTime":"2024-09-25T00:09:04.9999473+08:00"}

application/xml, text/xml

Sample:
<SignSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <CourseId>fc9e0c43-5c44-46ae-a194-c2d2f6d4f5ce</CourseId>
  <CreatedTime>2024-09-25T00:09:04.9999473+08:00</CreatedTime>
  <Setting>2</Setting>
</SignSetting>

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