GET api/TaskManager/GetRulesDetails/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BaseResponseOfGetManagerRulesDetailsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| data | GetManagerRulesDetailsDto |
None. |
|
| msg | string |
None. |
|
| code | integer |
None. |
|
| total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": {
"id": 1,
"rules_name": "sample string 2",
"dept_id": 3,
"dept_name": "sample string 4",
"delEmpsList": [
1,
2
],
"addEmpsList": [
1,
2
],
"rulesChapterList": [
{
"id": 1,
"chapter_name": "sample string 2",
"subsectionList": [
{
"id": 1,
"subsection_name": "sample string 2",
"watch_minutes": 3,
"subsection_content": "sample string 4"
},
{
"id": 1,
"subsection_name": "sample string 2",
"watch_minutes": 3,
"subsection_content": "sample string 4"
}
]
},
{
"id": 1,
"chapter_name": "sample string 2",
"subsectionList": [
{
"id": 1,
"subsection_name": "sample string 2",
"watch_minutes": 3,
"subsection_content": "sample string 4"
},
{
"id": 1,
"subsection_name": "sample string 2",
"watch_minutes": 3,
"subsection_content": "sample string 4"
}
]
}
]
},
"msg": "sample string 1",
"code": 2,
"total": 3
}
application/xml, text/xml
Sample:
<BaseResponseOfGetManagerRulesDetailsDtogLTqVTfs 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:addEmpsList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</d2p1:addEmpsList>
<d2p1:delEmpsList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</d2p1:delEmpsList>
<d2p1:dept_id>3</d2p1:dept_id>
<d2p1:dept_name>sample string 4</d2p1:dept_name>
<d2p1:id>1</d2p1:id>
<d2p1:rulesChapterList>
<d2p1:SaveRulesChapterDto>
<d2p1:chapter_name>sample string 2</d2p1:chapter_name>
<d2p1:id>1</d2p1:id>
<d2p1:subsectionList>
<d2p1:SaveSubsectionDto>
<d2p1:id>1</d2p1:id>
<d2p1:subsection_content>sample string 4</d2p1:subsection_content>
<d2p1:subsection_name>sample string 2</d2p1:subsection_name>
<d2p1:watch_minutes>3</d2p1:watch_minutes>
</d2p1:SaveSubsectionDto>
<d2p1:SaveSubsectionDto>
<d2p1:id>1</d2p1:id>
<d2p1:subsection_content>sample string 4</d2p1:subsection_content>
<d2p1:subsection_name>sample string 2</d2p1:subsection_name>
<d2p1:watch_minutes>3</d2p1:watch_minutes>
</d2p1:SaveSubsectionDto>
</d2p1:subsectionList>
</d2p1:SaveRulesChapterDto>
<d2p1:SaveRulesChapterDto>
<d2p1:chapter_name>sample string 2</d2p1:chapter_name>
<d2p1:id>1</d2p1:id>
<d2p1:subsectionList>
<d2p1:SaveSubsectionDto>
<d2p1:id>1</d2p1:id>
<d2p1:subsection_content>sample string 4</d2p1:subsection_content>
<d2p1:subsection_name>sample string 2</d2p1:subsection_name>
<d2p1:watch_minutes>3</d2p1:watch_minutes>
</d2p1:SaveSubsectionDto>
<d2p1:SaveSubsectionDto>
<d2p1:id>1</d2p1:id>
<d2p1:subsection_content>sample string 4</d2p1:subsection_content>
<d2p1:subsection_name>sample string 2</d2p1:subsection_name>
<d2p1:watch_minutes>3</d2p1:watch_minutes>
</d2p1:SaveSubsectionDto>
</d2p1:subsectionList>
</d2p1:SaveRulesChapterDto>
</d2p1:rulesChapterList>
<d2p1:rules_name>sample string 2</d2p1:rules_name>
</data>
</BaseResponseOfGetManagerRulesDetailsDtogLTqVTfs>