POST api/class/addstudent
指定教学班级学生名单
Request Information
URI Parameters
None.
Body Parameters
ClassStudentAddDtoName | Description | Type | Additional information |
---|---|---|---|
MemeberId |
成员编号 |
string |
None. |
TeachingClassId |
教学班级编号 |
globally unique identifier |
None. |
StructureId |
行政班级编号 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "MemeberId": "sample string 1", "TeachingClassId": "cc036046-e142-48b3-af12-7b2a672dfb49", "StructureId": 1 }
text/html
Sample:
{"MemeberId":"sample string 1","TeachingClassId":"cc036046-e142-48b3-af12-7b2a672dfb49","StructureId":1}
application/xml, text/xml
Sample:
<ClassStudentAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <MemeberId>sample string 1</MemeberId> <StructureId>1</StructureId> <TeachingClassId>cc036046-e142-48b3-af12-7b2a672dfb49</TeachingClassId> </ClassStudentAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
指定教学班级学生名单
JsonRtnDtoOfBooleanName | Description | Type | Additional 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});