GET api/admin/categorysections/GetCategorySectionsByCategoryID?categoryId={categoryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| categoryId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfListOfCategorySectionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of CategorySectionDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": [
{
"CatSecID": 1,
"CategoryID": 2,
"SectionID": 3,
"SectionName": "sample string 4",
"StepOrder": 5
},
{
"CatSecID": 1,
"CategoryID": 2,
"SectionID": 3,
"SectionName": "sample string 4",
"StepOrder": 5
}
]
}
application/xml, text/xml
Sample:
<ApiResponseOfArrayOfCategorySectionDTOu2S72hLb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomMasterModels">
<d2p1:CategorySectionDTO>
<d2p1:CatSecID>1</d2p1:CatSecID>
<d2p1:CategoryID>2</d2p1:CategoryID>
<d2p1:SectionID>3</d2p1:SectionID>
<d2p1:SectionName>sample string 4</d2p1:SectionName>
<d2p1:StepOrder>5</d2p1:StepOrder>
</d2p1:CategorySectionDTO>
<d2p1:CategorySectionDTO>
<d2p1:CatSecID>1</d2p1:CatSecID>
<d2p1:CategoryID>2</d2p1:CategoryID>
<d2p1:SectionID>3</d2p1:SectionID>
<d2p1:SectionName>sample string 4</d2p1:SectionName>
<d2p1:StepOrder>5</d2p1:StepOrder>
</d2p1:CategorySectionDTO>
</Data>
<Message>sample string 2</Message>
<Success>true</Success>
</ApiResponseOfArrayOfCategorySectionDTOu2S72hLb>