GET api/admin/sections/SectionPaged?PageNo={PageNo}&PageSize={PageSize}&SearchTerm={SearchTerm}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNo | integer |
Required |
|
| PageSize | integer |
Required |
|
| SearchTerm | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfSectionPaged| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | SectionPaged |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": {
"Sections": [
{
"SectionID": 1,
"SectionName": "sample string 2",
"TableName": "sample string 3",
"UserID": "sample string 4"
},
{
"SectionID": 1,
"SectionName": "sample string 2",
"TableName": "sample string 3",
"UserID": "sample string 4"
}
],
"TotalRecords": 1
}
}
application/xml, text/xml
Sample:
<ApiResponseOfSectionPagedu2S72hLb 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:Sections>
<d2p1:SectionGetModel>
<d2p1:SectionID>1</d2p1:SectionID>
<d2p1:SectionName>sample string 2</d2p1:SectionName>
<d2p1:TableName>sample string 3</d2p1:TableName>
<d2p1:UserID>sample string 4</d2p1:UserID>
</d2p1:SectionGetModel>
<d2p1:SectionGetModel>
<d2p1:SectionID>1</d2p1:SectionID>
<d2p1:SectionName>sample string 2</d2p1:SectionName>
<d2p1:TableName>sample string 3</d2p1:TableName>
<d2p1:UserID>sample string 4</d2p1:UserID>
</d2p1:SectionGetModel>
</d2p1:Sections>
<d2p1:TotalRecords>1</d2p1:TotalRecords>
</Data>
<Message>sample string 2</Message>
<Success>true</Success>
</ApiResponseOfSectionPagedu2S72hLb>