GET {version}/User/GetLearningSection
获得学段
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ApiResultOfListOfGradeTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Message | string |
None. |
|
| Data | Collection of GradeTypeDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Message": "sample string 2",
"Data": [
{
"ID": "sample string 1",
"Name": "sample string 2",
"HasSubject": true
},
{
"ID": "sample string 1",
"Name": "sample string 2",
"HasSubject": true
}
]
}
application/xml, text/xml
Sample:
<ApiResultOfArrayOfGradeTypeDtoEt5DwlUt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TinyFx.Web.Results">
<Code>sample string 1</Code>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eshikao.Models.User">
<d2p1:GradeTypeDto>
<d2p1:HasSubject>true</d2p1:HasSubject>
<d2p1:ID>sample string 1</d2p1:ID>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:GradeTypeDto>
<d2p1:GradeTypeDto>
<d2p1:HasSubject>true</d2p1:HasSubject>
<d2p1:ID>sample string 1</d2p1:ID>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:GradeTypeDto>
</Data>
<Message>sample string 2</Message>
</ApiResultOfArrayOfGradeTypeDtoEt5DwlUt>