POST Catalog/CacheCatalog
Request Information
URI Parameters
None.
Body Parameters
CacheCatalogRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StoreID | integer |
None. |
|
| Lang |
Set null to trigger caching for all store languages |
string |
None. |
| TariffID |
Single tariff to regenerate. Set null to trigger general regeneration. |
integer |
None. |
| TariffIDs |
Optional list of specific tariffs to regenerate. |
Collection of integer |
None. |
| CacheProducts |
Set true to force caching for all store Products |
boolean |
None. |
| CacheAttributes |
Set true to force caching for all store Attributes |
boolean |
None. |
| CacheClassifications |
Set true to force caching for all store Classifications |
boolean |
None. |
| CacheBrands |
Set true to force caching for all store Brands |
boolean |
None. |
| CacheIndividualProducts |
Set true to force individual products cache |
boolean |
None. |
| CachePrices |
Set true to force caching for all store Prices |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"StoreID": 1,
"Lang": "sample string 2",
"TariffID": 1,
"TariffIDs": [
1,
2
],
"CacheProducts": true,
"CacheAttributes": true,
"CacheClassifications": true,
"CacheBrands": true,
"CacheIndividualProducts": true,
"CachePrices": true
}
application/xml, text/xml
Sample:
<CacheCatalogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Catalog">
<CacheAttributes>true</CacheAttributes>
<CacheBrands>true</CacheBrands>
<CacheClassifications>true</CacheClassifications>
<CacheIndividualProducts>true</CacheIndividualProducts>
<CachePrices>true</CachePrices>
<CacheProducts>true</CacheProducts>
<Lang>sample string 2</Lang>
<StoreID>1</StoreID>
<TariffID>1</TariffID>
<TariffIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</TariffIDs>
</CacheCatalogRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.