POST Catalog/CacheCatalog

Request Information

URI Parameters

None.

Body Parameters

CacheCatalogRequest
NameDescriptionTypeAdditional information
StoreID

integer

None.

Lang

Set null to trigger caching for all store languages

string

None.

TariffID

Set null to trigger caching for all store tariffs

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.

Request Formats

application/json, text/json

Sample:
{
  "StoreID": 1,
  "Lang": "sample string 2",
  "TariffID": 1,
  "CacheProducts": true,
  "CacheAttributes": true,
  "CacheClassifications": true,
  "CacheBrands": true,
  "CacheIndividualProducts": 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>
  <CacheProducts>true</CacheProducts>
  <Lang>sample string 2</Lang>
  <StoreID>1</StoreID>
  <TariffID>1</TariffID>
</CacheCatalogRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.