GET api/courses/getcoursestate?courseId={courseId}
获取课程发布状态
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
获取课程发布状态
JsonRtnDtoOfCourseMiniInfoDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | CourseMiniInfoDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": "832c82b0-8b4c-4c6c-bf7b-181d84f6bc2b", "PubID": "ec4fa3ab-ff20-492f-9c3d-9284ea13c884", "CreatedUserID": 3, "ModifyUserID": 4, "CourseName": "sample string 5", "IsPublish": true, "CourseState": 7, "IsModify": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"832c82b0-8b4c-4c6c-bf7b-181d84f6bc2b","PubID":"ec4fa3ab-ff20-492f-9c3d-9284ea13c884","CreatedUserID":3,"ModifyUserID":4,"CourseName":"sample string 5","IsPublish":true,"CourseState":7,"IsModify":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfCourseMiniInfoDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <CourseName>sample string 5</CourseName> <CourseState>7</CourseState> <CreatedUserID>3</CreatedUserID> <Id>832c82b0-8b4c-4c6c-bf7b-181d84f6bc2b</Id> <IsModify>true</IsModify> <IsPublish>true</IsPublish> <ModifyUserID>4</ModifyUserID> <PubID>ec4fa3ab-ff20-492f-9c3d-9284ea13c884</PubID> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfCourseMiniInfoDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"832c82b0-8b4c-4c6c-bf7b-181d84f6bc2b","PubID":"ec4fa3ab-ff20-492f-9c3d-9284ea13c884","CreatedUserID":3,"ModifyUserID":4,"CourseName":"sample string 5","IsPublish":true,"CourseState":7,"IsModify":true}});