GET api/DingTaskReception/GetSubsectionDetails/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

BaseResponseOfGetSubsectionDetailsDto
NameDescriptionTypeAdditional information
data

GetSubsectionDetailsDto

None.

msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "id": 1,
    "subsection_name": "sample string 2",
    "subsection_content": "sample string 3",
    "watch_minutes": 4,
    "is_last": 5,
    "chapter_id": 6,
    "chapter_name": "sample string 7",
    "rules_id": 8,
    "rules_name": "sample string 9"
  },
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}

application/xml, text/xml

Sample:
<BaseResponseOfGetSubsectionDetailsDtogLTqVTfs 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:chapter_id>6</d2p1:chapter_id>
    <d2p1:chapter_name>sample string 7</d2p1:chapter_name>
    <d2p1:id>1</d2p1:id>
    <d2p1:is_last>5</d2p1:is_last>
    <d2p1:rules_id>8</d2p1:rules_id>
    <d2p1:rules_name>sample string 9</d2p1:rules_name>
    <d2p1:subsection_content>sample string 3</d2p1:subsection_content>
    <d2p1:subsection_name>sample string 2</d2p1:subsection_name>
    <d2p1:watch_minutes>4</d2p1:watch_minutes>
  </data>
</BaseResponseOfGetSubsectionDetailsDtogLTqVTfs>