Apply Filters
Request Parameters:
Apply filters to category.
URL: ../Api/Client/ApplyFilter
Header:
Content-Type: application/json
Required Parameters :
Case-1. Exception parameters :
Parameter:
{
"ApiSecretKey": "i99b98d117m116a112o98k115c111",
"CustomerGUID": "496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"LanguageId": "1",
"CurrencyId": "1",
"CategoryId": 1,
"SpecIds": [
8,
9
],
"MinPrice": "",
"MaxPrice": "",
"CatalogPagingResponse": {
"PageSize": "3",
"PageNumber": "1",
"OrderBy": "0"
}
}
Response :
{
"Status": 0,
"Message": "Request cannot be empty",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Incorrect Parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"LanguageId": "1",
"CurrencyId": "1",
"CategoryId":"65",
"SpecIds":[6,8],
"MinPrice":"0",
"MaxPrice":"15000",
"CatalogPagingResponse":
{
"PageSize": "3",
"PageNumber": "1",
"OrderBy": "0"
}
}
Response :
{
"Status": 0,
"Message": "Category is empty or deleted",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-3. Success Response :
Parameter:
{
"ApiSecretKey": "i99b98d117m116a112o98k115c111",
"CustomerGUID": "496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"LanguageId": "1",
"CurrencyId": "1",
"CategoryId": 1,
"SpecIds": [
8,
9
],
"MinPrice": "",
"MaxPrice": "",
"CatalogPagingResponse": {
"PageSize": "3",
"PageNumber": "1",
"OrderBy": "0"
}
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"Categories": null,
"Topics": null,
"BlogEnabled": false,
"RecentlyAddedProductsEnabled": false,
"ForumEnabled": false,
"Name": null,
"Description": null,
"MetaKeywords": null,
"MetaDescription": null,
"MetaTitle": null,
"SeName": null,
"PictureModel": null,
"PagingFilteringContext": {
"AllowProductSorting": true,
"AvailableSortOptions": [
{
"Disabled": false,
"Group": null,
"Selected": true,
"Text": "Position",
"Value": "0"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Name: A to Z",
"Value": "5"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Name: Z to A",
"Value": "6"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Price: Low to High",
"Value": "10"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Price: High to Low",
"Value": "11"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Created on",
"Value": "15"
}
],
"AllowProductViewModeChanging": false,
"AvailableViewModes": null,
"AllowCustomersToSelectPageSize": false,
"PageSizeOptions": null,
"OrderBy": 0,
"ViewMode": null,
"FirstItem": 1,
"HasNextPage": false,
"HasPreviousPage": false,
"LastItem": 0,
"PageIndex": 0,
"PageNumber": 1,
"PageSize": 3,
"TotalItems": 0,
"TotalPages": 0
},
"FeaturedProducts": null,
"Products": [],
"SpecificationFilter": null,
"PriceRangeFilters": null,
"FilteredItems": [],
"CustomerGuid": "6c6b37a8-e3f1-48e4-b0c6-45c3d5001dca",
"Message": null
},
"ValidationMessage": [],
"ErrorMessage": null
}