POST api/interact/teacherpubgroup

教师发起分组

Request Information

URI Parameters

None.

Body Parameters

传入参数

ClassGroupDto
NameDescriptionTypeAdditional information
cid

班课编号

globally unique identifier

None.

Title

标题

string

None.

IsEnd

学生是否被停止动作

boolean

None.

Num

分组人数上线

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "cid": "56a5bac7-950f-4330-8af4-555489247b18",
  "Title": "sample string 2",
  "IsEnd": true,
  "Num": 4
}

text/html

Sample:
{"cid":"56a5bac7-950f-4330-8af4-555489247b18","Title":"sample string 2","IsEnd":true,"Num":4}

application/xml, text/xml

Sample:
<ClassGroupDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <IsEnd>true</IsEnd>
  <Num>4</Num>
  <Title>sample string 2</Title>
  <cid>56a5bac7-950f-4330-8af4-555489247b18</cid>
</ClassGroupDto>

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