POST api/Syndication/GetHHTBrands

A list of all brands HHT carries. Authorization required.

Request Information

URI Parameters

None.

Body Parameters

RequestHHTBrand

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<RequestHHTBrand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/data.hearthnhome.Models.Syndication.Request" />

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestHHTBrand'.

Response Information

Resource Description

ResponseHHTBrand
NameDescriptionTypeAdditional information
Brands

Collection of jHHTBrand

None.

Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Brands": [
    {
      "BrandCode": "sample string 1",
      "BrandName": "sample string 2",
      "LogoImage": "sample string 3",
      "BrandSiteURL": "sample string 4"
    },
    {
      "BrandCode": "sample string 1",
      "BrandName": "sample string 2",
      "LogoImage": "sample string 3",
      "BrandSiteURL": "sample string 4"
    }
  ],
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseHHTBrand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/data.hearthnhome.Models.Syndication.Response">
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Brands xmlns:d2p1="http://schemas.datacontract.org/2004/07/data.hearthnhome.Models.Syndication.Catalog">
    <d2p1:jHHTBrand>
      <d2p1:BrandCode>sample string 1</d2p1:BrandCode>
      <d2p1:BrandName>sample string 2</d2p1:BrandName>
      <d2p1:BrandSiteURL>sample string 4</d2p1:BrandSiteURL>
      <d2p1:LogoImage>sample string 3</d2p1:LogoImage>
    </d2p1:jHHTBrand>
    <d2p1:jHHTBrand>
      <d2p1:BrandCode>sample string 1</d2p1:BrandCode>
      <d2p1:BrandName>sample string 2</d2p1:BrandName>
      <d2p1:BrandSiteURL>sample string 4</d2p1:BrandSiteURL>
      <d2p1:LogoImage>sample string 3</d2p1:LogoImage>
    </d2p1:jHHTBrand>
  </Brands>
</ResponseHHTBrand>