POST Brands/GetCountryCultureIDs

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

text/html

Sample:
[1,2]

application/xml, text/xml

Sample:
<ArrayOfshort xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <short>1</short>
  <short>2</short>
</ArrayOfshort>

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 'HashSet`1'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of LiteBrandCountryCultureModel
NameDescriptionTypeAdditional information
BrandID

integer

None.

CountryCultures

Collection of LiteCountryCultureModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BrandID": 1,
    "CountryCultures": [
      {
        "CountryID": 1,
        "CultureIDs": [
          1,
          2
        ]
      },
      {
        "CountryID": 1,
        "CultureIDs": [
          1,
          2
        ]
      }
    ]
  },
  {
    "BrandID": 1,
    "CountryCultures": [
      {
        "CountryID": 1,
        "CultureIDs": [
          1,
          2
        ]
      },
      {
        "CountryID": 1,
        "CultureIDs": [
          1,
          2
        ]
      }
    ]
  }
]

text/html

Sample:
[{"BrandID":1,"CountryCultures":[{"CountryID":1,"CultureIDs":[1,2]},{"CountryID":1,"CultureIDs":[1,2]}]},{"BrandID":1,"CountryCultures":[{"CountryID":1,"CultureIDs":[1,2]},{"CountryID":1,"CultureIDs":[1,2]}]}]

application/xml, text/xml

Sample:
<ArrayOfLiteBrandCountryCultureModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore">
  <LiteBrandCountryCultureModel>
    <BrandID>1</BrandID>
    <CountryCultures>
      <LiteCountryCultureModel>
        <CountryID>1</CountryID>
        <CultureIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:short>1</d5p1:short>
          <d5p1:short>2</d5p1:short>
        </CultureIDs>
      </LiteCountryCultureModel>
      <LiteCountryCultureModel>
        <CountryID>1</CountryID>
        <CultureIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:short>1</d5p1:short>
          <d5p1:short>2</d5p1:short>
        </CultureIDs>
      </LiteCountryCultureModel>
    </CountryCultures>
  </LiteBrandCountryCultureModel>
  <LiteBrandCountryCultureModel>
    <BrandID>1</BrandID>
    <CountryCultures>
      <LiteCountryCultureModel>
        <CountryID>1</CountryID>
        <CultureIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:short>1</d5p1:short>
          <d5p1:short>2</d5p1:short>
        </CultureIDs>
      </LiteCountryCultureModel>
      <LiteCountryCultureModel>
        <CountryID>1</CountryID>
        <CultureIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:short>1</d5p1:short>
          <d5p1:short>2</d5p1:short>
        </CultureIDs>
      </LiteCountryCultureModel>
    </CountryCultures>
  </LiteBrandCountryCultureModel>
</ArrayOfLiteBrandCountryCultureModel>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.