POST B2GWebsite/B2GSubPage/GetGeneralEntryListGroupByDepartment
Request Information
URI Parameters
None.
Body Parameters
FrontGeneralEntryFilterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AdminDepartmentCode | integer |
None. |
|
| DepartmentCode | integer |
None. |
|
| CategoryCode | integer |
None. |
|
| SubCategoryCode | integer |
None. |
|
| FromDate | string |
None. |
|
| ToDate | string |
None. |
|
| SearchKeyword | string |
None. |
|
| IsURLRequired | boolean |
None. |
|
| IsImageRequired | boolean |
None. |
|
| IsPDFRequired | boolean |
None. |
|
| IsLogoURLBase64 | boolean |
None. |
|
| ThenBy | string |
None. |
|
| IsThenByAsc | integer |
None. |
|
| IsCurrentAndFuture | boolean |
None. |
|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
|
| Search | string |
None. |
|
| OrderBy | string |
None. |
|
| OrderByAsc | integer |
None. |
|
| IsPostBack | boolean |
None. |
|
| AdvanceSearchModel | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"AdminDepartmentCode": 1,
"DepartmentCode": 2,
"CategoryCode": 3,
"SubCategoryCode": 4,
"FromDate": "sample string 5",
"ToDate": "sample string 6",
"SearchKeyword": "sample string 7",
"IsURLRequired": true,
"IsImageRequired": true,
"IsPDFRequired": true,
"IsLogoURLBase64": true,
"ThenBy": "sample string 12",
"IsThenByAsc": 1,
"IsCurrentAndFuture": true,
"Page": 14,
"PageSize": 15,
"Search": "sample string 16",
"OrderBy": "sample string 17",
"OrderByAsc": 18,
"IsPostBack": true,
"AdvanceSearchModel": {
"sample string 1": {},
"sample string 3": {}
}
}
application/xml, text/xml
Sample:
<FrontGeneralEntryFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.WebsiteModel">
<AdvanceSearchModel xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</AdvanceSearchModel>
<IsPostBack xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">true</IsPostBack>
<OrderBy xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">sample string 17</OrderBy>
<OrderByAsc xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">18</OrderByAsc>
<Page xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">14</Page>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">15</PageSize>
<Search xmlns="http://schemas.datacontract.org/2004/07/B2G.Models.GeneralModel">sample string 16</Search>
<AdminDepartmentCode>1</AdminDepartmentCode>
<CategoryCode>3</CategoryCode>
<DepartmentCode>2</DepartmentCode>
<FromDate>sample string 5</FromDate>
<IsCurrentAndFuture>true</IsCurrentAndFuture>
<IsImageRequired>true</IsImageRequired>
<IsLogoURLBase64>true</IsLogoURLBase64>
<IsPDFRequired>true</IsPDFRequired>
<IsThenByAsc>1</IsThenByAsc>
<IsURLRequired>true</IsURLRequired>
<SearchKeyword>sample string 7</SearchKeyword>
<SubCategoryCode>4</SubCategoryCode>
<ThenBy>sample string 12</ThenBy>
<ToDate>sample string 6</ToDate>
</FrontGeneralEntryFilterModel>
application/x-www-form-urlencoded
Sample:
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AdminDepartmentCode" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DepartmentCode" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CategoryCode" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="SubCategoryCode" 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="FromDate" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ToDate" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="SearchKeyword" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsURLRequired" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsImageRequired" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsPDFRequired" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsLogoURLBase64" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ThenBy" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsThenByAsc" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsCurrentAndFuture" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Page" 14 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PageSize" 15 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Search" sample string 16 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="OrderBy" sample string 17 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="OrderByAsc" 18 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsPostBack" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AdvanceSearchModel[0].Key" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AdvanceSearchModel[0].Value" System.Object --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AdvanceSearchModel[1].Key" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AdvanceSearchModel[1].Value" System.Object --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.