POST v{version}/settings/CachingPolicy
CachingPolicy.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version |
The requested API version |
string |
Required Default value is 1.0 |
Body Parameters
CachingPolicyViewModelName | Description | Type | Additional information |
---|---|---|---|
CacheItemId | integer |
None. |
|
WebPortalId | integer |
None. |
|
CachePeriodInHours | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CacheItemId": 1, "WebPortalId": 2, "CachePeriodInHours": 1 }
application/xml, text/xml
Sample:
<CachingPolicyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.CachingPolicy"> <CacheItemId>1</CacheItemId> <CachePeriodInHours>1</CachePeriodInHours> <WebPortalId>2</WebPortalId> </CachingPolicyViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.