POST api/courses/signdel
删除报名学生
Request Information
URI Parameters
None.
Body Parameters
UserCourseName | Description | Type | Additional information |
---|---|---|---|
CourseId |
课程编号(发布编号) |
globally unique identifier |
None. |
StudentId |
学生编号 |
string |
None. |
LearnLength |
学生学习该课时长 |
integer |
None. |
CreatedTime |
创建时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "CourseId": "b4acfd57-c873-4ec9-a180-4c1a0188e8ad", "StudentId": "sample string 2", "LearnLength": 3, "CreatedTime": "2024-09-25T00:09:13.4371732+08:00" }
text/html
Sample:
{"CourseId":"b4acfd57-c873-4ec9-a180-4c1a0188e8ad","StudentId":"sample string 2","LearnLength":3,"CreatedTime":"2024-09-25T00:09:13.4371732+08:00"}
application/xml, text/xml
Sample:
<UserCourse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <CourseId>b4acfd57-c873-4ec9-a180-4c1a0188e8ad</CourseId> <CreatedTime>2024-09-25T00:09:13.4371732+08:00</CreatedTime> <LearnLength>3</LearnLength> <StudentId>sample string 2</StudentId> </UserCourse>
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});