GET api/Special/GetSpecialHtmlSnapShot/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
SpecialName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
Name | string |
Required |
|
Slug | string |
Required |
|
BannerHtml | string |
None. |
|
Products | Collection of Product |
None. |
|
HtmlSnapshot | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "Name": "sample string 2", "Slug": "sample string 3", "BannerHtml": "sample string 7", "Products": [ { "Id": "sample string 1", "Name": "sample string 2", "ProdID": 3, "Url": "sample string 4", "Price": 6.0, "HighPrice": 7.0, "Image": "sample string 8", "Description": "sample string 9", "ToHtml": "<div class='product col-xs-6 col-sm-4 col-md-3'><a href='sample string 4?sample string 10'><img src='sample string 8' alt='sample string 2' class='img-responsive'/><span class='title'>sample string 2</span><span class='price'>$6</span> <span class='was'>was</span> <span class='high-price'>$7</span><span class='description'>sample string 9</span></a></div>", "UtmParam": "sample string 10" }, { "Id": "sample string 1", "Name": "sample string 2", "ProdID": 3, "Url": "sample string 4", "Price": 6.0, "HighPrice": 7.0, "Image": "sample string 8", "Description": "sample string 9", "ToHtml": "<div class='product col-xs-6 col-sm-4 col-md-3'><a href='sample string 4?sample string 10'><img src='sample string 8' alt='sample string 2' class='img-responsive'/><span class='title'>sample string 2</span><span class='price'>$6</span> <span class='was'>was</span> <span class='high-price'>$7</span><span class='description'>sample string 9</span></a></div>", "UtmParam": "sample string 10" } ], "HtmlSnapshot": "sample string 9" }
application/xml, text/xml
Sample:
<Special xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OCS.Core.Domain"> <BannerHtml>sample string 7</BannerHtml> <HtmlSnapshot>sample string 9</HtmlSnapshot> <Id>sample string 1</Id> <Name>sample string 2</Name> <Products> <Product> <Description>sample string 9</Description> <HighPrice>7</HighPrice> <Id>sample string 1</Id> <Image>sample string 8</Image> <Name>sample string 2</Name> <Price>6</Price> <ProdID>3</ProdID> <Url>sample string 4</Url> <UtmParam>sample string 10</UtmParam> </Product> <Product> <Description>sample string 9</Description> <HighPrice>7</HighPrice> <Id>sample string 1</Id> <Image>sample string 8</Image> <Name>sample string 2</Name> <Price>6</Price> <ProdID>3</ProdID> <Url>sample string 4</Url> <UtmParam>sample string 10</UtmParam> </Product> </Products> <Slug>sample string 3</Slug> </Special>