GET api/Section/GetSectionsSelectList?types={types}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| types | string |
Required |
Body Parameters
None.
Response Information
Resource Description
MessageModelOfListOfSectionSelectViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Success | boolean |
None. |
|
| Msg | string |
None. |
|
| Response | Collection of SectionSelectViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 200,
"Success": true,
"Msg": "sample string 3",
"Response": [
{
"FSectionID": 1,
"FSectionName": "sample string 1",
"FSectionTypeID": 1,
"FSectionTypeName": "sample string 2"
},
{
"FSectionID": 1,
"FSectionName": "sample string 1",
"FSectionTypeID": 1,
"FSectionTypeName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<MessageModelOfArrayOfSectionSelectViewModelKI6_SDWR9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity">
<Msg>sample string 3</Msg>
<Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
<d2p1:SectionSelectViewModel>
<d2p1:FSectionID>1</d2p1:FSectionID>
<d2p1:FSectionName>sample string 1</d2p1:FSectionName>
<d2p1:FSectionTypeID>1</d2p1:FSectionTypeID>
<d2p1:FSectionTypeName>sample string 2</d2p1:FSectionTypeName>
</d2p1:SectionSelectViewModel>
<d2p1:SectionSelectViewModel>
<d2p1:FSectionID>1</d2p1:FSectionID>
<d2p1:FSectionName>sample string 1</d2p1:FSectionName>
<d2p1:FSectionTypeID>1</d2p1:FSectionTypeID>
<d2p1:FSectionTypeName>sample string 2</d2p1:FSectionTypeName>
</d2p1:SectionSelectViewModel>
</Response>
<Status>200</Status>
<Success>true</Success>
</MessageModelOfArrayOfSectionSelectViewModelKI6_SDWR9>