GET api/TaskManager/GetTaskModuleDetails/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BaseResponseOfGetTaskModuleDetailsDtoName | Description | Type | Additional information |
---|---|---|---|
data | GetTaskModuleDetailsDto |
None. |
|
msg | string |
None. |
|
code | integer |
None. |
|
total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "id": 1, "module_name": "sample string 2", "module_describe": "sample string 3", "module_type": 4, "rulesChapterList": [ { "id": 1, "chapter_name": "sample string 2", "rules_name": "sample string 3", "subsectionList": [ { "id": 1, "name": "sample string 2", "is_complete": true }, { "id": 1, "name": "sample string 2", "is_complete": true } ] }, { "id": 1, "chapter_name": "sample string 2", "rules_name": "sample string 3", "subsectionList": [ { "id": 1, "name": "sample string 2", "is_complete": true }, { "id": 1, "name": "sample string 2", "is_complete": true } ] } ], "moduleVideoList": [ { "id": 1, "course_name": "sample string 2", "classify_name": "sample string 3", "video_cover": "sample string 4", "mode_type": 5, "mode_type_label": "高级模块", "is_complete": true }, { "id": 1, "course_name": "sample string 2", "classify_name": "sample string 3", "video_cover": "sample string 4", "mode_type": 5, "mode_type_label": "高级模块", "is_complete": true } ] }, "msg": "sample string 1", "code": 2, "total": 3 }
application/xml, text/xml
Sample:
<BaseResponseOfGetTaskModuleDetailsDtogLTqVTfs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI"> <code>2</code> <msg>sample string 1</msg> <total>3</total> <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel"> <d2p1:id>1</d2p1:id> <d2p1:moduleVideoList> <d2p1:GetModuleVideoDto> <d2p1:classify_name>sample string 3</d2p1:classify_name> <d2p1:course_name>sample string 2</d2p1:course_name> <d2p1:id>1</d2p1:id> <d2p1:is_complete>true</d2p1:is_complete> <d2p1:mode_type>5</d2p1:mode_type> <d2p1:video_cover>sample string 4</d2p1:video_cover> </d2p1:GetModuleVideoDto> <d2p1:GetModuleVideoDto> <d2p1:classify_name>sample string 3</d2p1:classify_name> <d2p1:course_name>sample string 2</d2p1:course_name> <d2p1:id>1</d2p1:id> <d2p1:is_complete>true</d2p1:is_complete> <d2p1:mode_type>5</d2p1:mode_type> <d2p1:video_cover>sample string 4</d2p1:video_cover> </d2p1:GetModuleVideoDto> </d2p1:moduleVideoList> <d2p1:module_describe>sample string 3</d2p1:module_describe> <d2p1:module_name>sample string 2</d2p1:module_name> <d2p1:module_type>4</d2p1:module_type> <d2p1:rulesChapterList> <d2p1:GetModuleRulesChapterDto> <d2p1:chapter_name>sample string 2</d2p1:chapter_name> <d2p1:id>1</d2p1:id> <d2p1:rules_name>sample string 3</d2p1:rules_name> <d2p1:subsectionList> <d2p1:GetModuleRulesSubsectionDto> <d2p1:id>1</d2p1:id> <d2p1:is_complete>true</d2p1:is_complete> <d2p1:name>sample string 2</d2p1:name> </d2p1:GetModuleRulesSubsectionDto> <d2p1:GetModuleRulesSubsectionDto> <d2p1:id>1</d2p1:id> <d2p1:is_complete>true</d2p1:is_complete> <d2p1:name>sample string 2</d2p1:name> </d2p1:GetModuleRulesSubsectionDto> </d2p1:subsectionList> </d2p1:GetModuleRulesChapterDto> <d2p1:GetModuleRulesChapterDto> <d2p1:chapter_name>sample string 2</d2p1:chapter_name> <d2p1:id>1</d2p1:id> <d2p1:rules_name>sample string 3</d2p1:rules_name> <d2p1:subsectionList> <d2p1:GetModuleRulesSubsectionDto> <d2p1:id>1</d2p1:id> <d2p1:is_complete>true</d2p1:is_complete> <d2p1:name>sample string 2</d2p1:name> </d2p1:GetModuleRulesSubsectionDto> <d2p1:GetModuleRulesSubsectionDto> <d2p1:id>1</d2p1:id> <d2p1:is_complete>true</d2p1:is_complete> <d2p1:name>sample string 2</d2p1:name> </d2p1:GetModuleRulesSubsectionDto> </d2p1:subsectionList> </d2p1:GetModuleRulesChapterDto> </d2p1:rulesChapterList> </data> </BaseResponseOfGetTaskModuleDetailsDtogLTqVTfs>