POST api/member/SaveStudentInfo
保存带行政班级与教学班级的学生
Request Information
URI Parameters
None.
Body Parameters
用户对象
SaveStudentDtoName | Description | Type | Additional information |
---|---|---|---|
StuId |
用户编号 |
string |
None. |
StuPwd |
用户密码 |
string |
None. |
StuName |
用户名称 |
string |
None. |
StuSex |
用户性别 |
string |
None. |
StubH |
头像名称 |
string |
None. |
StuPhoto |
头像地址 |
string |
None. |
用户邮箱 |
string |
None. |
|
Phone |
手机号 |
string |
None. |
Identification |
身份证 |
string |
None. |
StructureId |
行政班级编号 |
integer |
None. |
ClassId |
教学班级编号 |
globally unique identifier |
None. |
Grade |
年级 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "StuId": "sample string 1", "StuPwd": "sample string 2", "StuName": "sample string 3", "StuSex": "sample string 4", "StubH": "sample string 5", "StuPhoto": "sample string 6", "Email": "sample string 7", "Phone": "sample string 8", "Identification": "sample string 9", "StructureId": 1, "ClassId": "2ca40a2a-e429-4798-884c-34646eb9b9e8", "Grade": 11 }
text/html
Sample:
{"StuId":"sample string 1","StuPwd":"sample string 2","StuName":"sample string 3","StuSex":"sample string 4","StubH":"sample string 5","StuPhoto":"sample string 6","Email":"sample string 7","Phone":"sample string 8","Identification":"sample string 9","StructureId":1,"ClassId":"2ca40a2a-e429-4798-884c-34646eb9b9e8","Grade":11}
application/xml, text/xml
Sample:
<SaveStudentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <ClassId>2ca40a2a-e429-4798-884c-34646eb9b9e8</ClassId> <Email>sample string 7</Email> <Grade>11</Grade> <Identification>sample string 9</Identification> <Phone>sample string 8</Phone> <StructureId>1</StructureId> <StuId>sample string 1</StuId> <StuName>sample string 3</StuName> <StuPhoto>sample string 6</StuPhoto> <StuPwd>sample string 2</StuPwd> <StuSex>sample string 4</StuSex> <StubH>sample string 5</StubH> </SaveStudentDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存带行政班级与教学班级的学生
JsonRtnDtoOfSaveStudentDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | SaveStudentDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "StuId": "sample string 1", "StuPwd": "sample string 2", "StuName": "sample string 3", "StuSex": "sample string 4", "StubH": "sample string 5", "StuPhoto": "sample string 6", "Email": "sample string 7", "Phone": "sample string 8", "Identification": "sample string 9", "StructureId": 1, "ClassId": "ac8feada-ef92-40e7-9913-615ef50c9fa5", "Grade": 11 } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"StuId":"sample string 1","StuPwd":"sample string 2","StuName":"sample string 3","StuSex":"sample string 4","StubH":"sample string 5","StuPhoto":"sample string 6","Email":"sample string 7","Phone":"sample string 8","Identification":"sample string 9","StructureId":1,"ClassId":"ac8feada-ef92-40e7-9913-615ef50c9fa5","Grade":11}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfSaveStudentDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <ClassId>ac8feada-ef92-40e7-9913-615ef50c9fa5</ClassId> <Email>sample string 7</Email> <Grade>11</Grade> <Identification>sample string 9</Identification> <Phone>sample string 8</Phone> <StructureId>1</StructureId> <StuId>sample string 1</StuId> <StuName>sample string 3</StuName> <StuPhoto>sample string 6</StuPhoto> <StuPwd>sample string 2</StuPwd> <StuSex>sample string 4</StuSex> <StubH>sample string 5</StubH> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfSaveStudentDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"StuId":"sample string 1","StuPwd":"sample string 2","StuName":"sample string 3","StuSex":"sample string 4","StubH":"sample string 5","StuPhoto":"sample string 6","Email":"sample string 7","Phone":"sample string 8","Identification":"sample string 9","StructureId":1,"ClassId":"ac8feada-ef92-40e7-9913-615ef50c9fa5","Grade":11}});