Apply Filters
Request Parameters:
Apply filters to category.
URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/ApplyFilter
Parameter:
{
"apiSecretKey": "r102x99g112u110t118p105k109c105",
"storeId": "1",
"languageId": "1",
"currencyId": "1",
"customerId": "1",
"categoryId":"3",
"specIds":[6,8],
"minPrice":"0",
"maxPrice":"15000",
"command":
{
"PageSize": "3",
"PageNumber": "1",
"OrderBy": "0"
}
}
Response:
{
"ApplyFilterResult":
{
"Id": 0,
"Message": null,
"AlreadyFilteredItems":
[
{
"SpecificationAttributeId": 2,
"SpecificationAttributeName": "CPU Type",
"SpecificationAttributeOptionId": 6,
"SpecificationAttributeOptionName": "Intel Core i5"
},
{
"SpecificationAttributeId": 3,
"SpecificationAttributeName": "Memory",
"SpecificationAttributeOptionId": 8,
"SpecificationAttributeOptionName": "4 GB"
}
],
"BlogEnabled": false,
"Categories": null,
"Description": null,
"FeaturedProducts": null,
"ForumEnabled": false,
"MetaDescription": null,
"MetaKeywords": null,
"MetaTitle": null,
"Name": null,
"NotFilteredItems":
[
],
"PagingFilteringContext":
{
"AllowCustomersToSelectPageSize": false,
"AllowProductSorting": true,
"AllowProductViewModeChanging": false,
"AvailableSortOptions":
[
{
"Disabled": false,
"Group": null,
"Selected": true,
"Text": "Position",
"Value": "http://localhost:15536/plugins/xcellenceit.plugin.misc.noprestapi/remoteservice/webservice.svc/applyfilter?orderby=0"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Name: A to Z",
"Value": "http://localhost:15536/plugins/xcellenceit.plugin.misc.noprestapi/remoteservice/webservice.svc/applyfilter?orderby=5"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Name: Z to A",
"Value": "http://localhost:15536/plugins/xcellenceit.plugin.misc.noprestapi/remoteservice/webservice.svc/applyfilter?orderby=6"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Price: Low to High",
"Value": "http://localhost:15536/plugins/xcellenceit.plugin.misc.noprestapi/remoteservice/webservice.svc/applyfilter?orderby=10"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Price: High to Low",
"Value": "http://localhost:15536/plugins/xcellenceit.plugin.misc.noprestapi/remoteservice/webservice.svc/applyfilter?orderby=11"
},
{
"Disabled": false,
"Group": null,
"Selected": false,
"Text": "Created on",
"Value": "http://localhost:15536/plugins/xcellenceit.plugin.misc.noprestapi/remoteservice/webservice.svc/applyfilter?orderby=15"
}
],
"AvailableViewModes": null,
"FirstItem": 1,
"HasNextPage": false,
"HasPreviousPage": false,
"LastItem": 2,
"OrderBy": 0,
"PageNumber": 1,
"PageSize": 3,
"PageSizeOptions": null,
"TotalItems": 2,
"TotalPages": 1,
"ViewMode": null
},
"PictureModel": null,
"PriceRangeFilters": null,
"Products":
[
{
"Id": 4,
"Message": null,
"DefaultPictureModel":
{
"CustomProperties":
[
],
"AlternateText": "Picture of Apple MacBook Pro 13-inch",
"FullSizeImageUrl": "http://localhost:15536/content/images/thumbs/0000024_apple-macbook-pro-13-inch.jpeg",
"ImageUrl": "http://localhost:15536/content/images/thumbs/0000024_apple-macbook-pro-13-inch_415.jpeg",
"ThumbImageUrl": "http://localhost:15536/content/images/thumbs/0000024_apple-macbook-pro-13-inch_100.jpeg",
"Title": "Show details for Apple MacBook Pro 13-inch"
},
"FullDescription": "With fifth-generation Intel Core processors, the latest graphics, and faster flash storage, the incredibly advanced
MacBook Pro with Retina display moves even further ahead in performance and battery life.* *Compared with the previous
generation.Retina display with 2560-by-1600 resolution Fifth-generation dual-core Intel Core i5 processorIntel Iris Graphics Up to 9
hours of battery life1Faster flash storage2802.11ac Wi-Fi Two hunder bolt 2 ports for connecting high-performance devices and
transferring data at lightning speed Two USB 3 ports (compatible with USB 2 devices)and HDMI FaceTime HD camera Pages, Numbers,
Keynote, iPhoto, iMovie, GarageBand includedOS X, the world's most advanced desktop operating system",
"Name": "Apple MacBook Pro 13-inch",
"ProductPrice":
{
"CustomProperties":
[
],
"AvailableForPreOrder": false,
"DisableBuyButton": false,
"DisableWishlistButton": false,
"DisplayTaxShippingInfo": false,
"ForceRedirectionAfterAddingToCart": false,
"IsRental": false,
"OldPrice": null,
"PreOrderAvailabilityStartDateTimeUtc": null,
"Price": "$1,800.00"
},
"ReviewOverviewModel":
{
"CustomProperties":
[
],
"AllowCustomerReviews": true,
"ProductId": 4,
"RatingSum": 0,
"TotalReviews": 0
},
"SeName": "apple-macbook-pro-13-inch",
"ShortDescription": "A groundbreaking Retina display. A new force-sensing trackpad. All-flash architecture. Powerful dual-core and quad-
core Intel processors. Together, these features take the notebook to a new level of performance. And they will do the same for you in
everything you create."
} ],
"RecentlyAddedProductsEnabled": false,
"SeName": null,
"SpecificationFilter": null,
"Topics": null
}
}