GET api/courses/checkpublish?id={id}
课程发布检测
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
课程发布检测
JsonRtnDtoOfCoursePubDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | CoursePubDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": "ec3c8ae6-911f-4df9-81ec-e45860e6509a", "CourseInfoIsCompleted": true, "CourseCatalogIsCompleted": true, "TestIsCompleted": true, "IsDiscuss": true, "IsNotice": true, "IsQuestionnaire": true, "Section": { "CourseID": "361ebdd0-1c66-4180-a0e5-9a63b1183ed6", "CreatedTime": "2024-09-25T00:07:12.3437864+08:00", "DirIsOpen": true, "TestIsOpen": true, "DiscussIsOpen": true, "NoticeIsOpen": true, "QuestionnaireIsOpen": true } } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"ec3c8ae6-911f-4df9-81ec-e45860e6509a","CourseInfoIsCompleted":true,"CourseCatalogIsCompleted":true,"TestIsCompleted":true,"IsDiscuss":true,"IsNotice":true,"IsQuestionnaire":true,"Section":{"CourseID":"361ebdd0-1c66-4180-a0e5-9a63b1183ed6","CreatedTime":"2024-09-25T00:07:12.3437864+08:00","DirIsOpen":true,"TestIsOpen":true,"DiscussIsOpen":true,"NoticeIsOpen":true,"QuestionnaireIsOpen":true}}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfCoursePubDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <CourseCatalogIsCompleted>true</CourseCatalogIsCompleted> <CourseInfoIsCompleted>true</CourseInfoIsCompleted> <Id>ec3c8ae6-911f-4df9-81ec-e45860e6509a</Id> <IsDiscuss>true</IsDiscuss> <IsNotice>true</IsNotice> <IsQuestionnaire>true</IsQuestionnaire> <Section xmlns:d3p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d3p1:CourseID>361ebdd0-1c66-4180-a0e5-9a63b1183ed6</d3p1:CourseID> <d3p1:CreatedTime>2024-09-25T00:07:12.3437864+08:00</d3p1:CreatedTime> <d3p1:DirIsOpen>true</d3p1:DirIsOpen> <d3p1:DiscussIsOpen>true</d3p1:DiscussIsOpen> <d3p1:NoticeIsOpen>true</d3p1:NoticeIsOpen> <d3p1:QuestionnaireIsOpen>true</d3p1:QuestionnaireIsOpen> <d3p1:TestIsOpen>true</d3p1:TestIsOpen> </Section> <TestIsCompleted>true</TestIsCompleted> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfCoursePubDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"ec3c8ae6-911f-4df9-81ec-e45860e6509a","CourseInfoIsCompleted":true,"CourseCatalogIsCompleted":true,"TestIsCompleted":true,"IsDiscuss":true,"IsNotice":true,"IsQuestionnaire":true,"Section":{"CourseID":"361ebdd0-1c66-4180-a0e5-9a63b1183ed6","CreatedTime":"2024-09-25T00:07:12.3437864+08:00","DirIsOpen":true,"TestIsOpen":true,"DiscussIsOpen":true,"NoticeIsOpen":true,"QuestionnaireIsOpen":true}}});