GET Brands/{brandID}/Countries/{countryID}?includeProperties={includeProperties}

Gets details related to a brand country association.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

integer

Required

countryID

integer

Required

includeProperties

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

OutputBrandCountryModel
NameDescriptionTypeAdditional information
Cultures

Collection of OutputBrandCountryCultureModel

None.

BrandID

integer

None.

BrandCountryID

integer

None.

Properties

Dictionary of string [key] and string [value]

None.

CountryID

integer

None.

MinRegistrationAge

byte

Required

Range: inclusive between 0 and 124

MaxRegistrationAge

byte

Required

Range: inclusive between 1 and 125

IsIncentiveInPoints

boolean

None.

StudyTypeExclusionTimeInDays

integer

None.

IsNewUserRegistrationAllowed

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Cultures": [
    {
      "BrandCountryCultureID": 1,
      "Properties": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "CultureID": 2,
      "IsNewUserRegistrationAllowed": true,
      "IsBrowserDetectionAllowed": true
    },
    {
      "BrandCountryCultureID": 1,
      "Properties": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "CultureID": 2,
      "IsNewUserRegistrationAllowed": true,
      "IsBrowserDetectionAllowed": true
    }
  ],
  "BrandID": 1,
  "BrandCountryID": 2,
  "Properties": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "CountryID": 3,
  "MinRegistrationAge": 64,
  "MaxRegistrationAge": 64,
  "IsIncentiveInPoints": true,
  "StudyTypeExclusionTimeInDays": 7,
  "IsNewUserRegistrationAllowed": true
}

text/html

Sample:
{"Cultures":[{"BrandCountryCultureID":1,"Properties":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"CultureID":2,"IsNewUserRegistrationAllowed":true,"IsBrowserDetectionAllowed":true},{"BrandCountryCultureID":1,"Properties":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"CultureID":2,"IsNewUserRegistrationAllowed":true,"IsBrowserDetectionAllowed":true}],"BrandID":1,"BrandCountryID":2,"Properties":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"CountryID":3,"MinRegistrationAge":64,"MaxRegistrationAge":64,"IsIncentiveInPoints":true,"StudyTypeExclusionTimeInDays":7,"IsNewUserRegistrationAllowed":true}

application/xml, text/xml

Sample:
<OutputBrandCountryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.Country">
  <CountryID>3</CountryID>
  <IsIncentiveInPoints>true</IsIncentiveInPoints>
  <IsNewUserRegistrationAllowed>true</IsNewUserRegistrationAllowed>
  <MaxRegistrationAge>64</MaxRegistrationAge>
  <MinRegistrationAge>64</MinRegistrationAge>
  <StudyTypeExclusionTimeInDays>7</StudyTypeExclusionTimeInDays>
  <BrandCountryID>2</BrandCountryID>
  <BrandID>1</BrandID>
  <Cultures xmlns:d2p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.Culture">
    <d2p1:OutputBrandCountryCultureModel>
      <d2p1:CultureID>2</d2p1:CultureID>
      <d2p1:IsBrowserDetectionAllowed>true</d2p1:IsBrowserDetectionAllowed>
      <d2p1:IsNewUserRegistrationAllowed>true</d2p1:IsNewUserRegistrationAllowed>
      <d2p1:BrandCountryCultureID>1</d2p1:BrandCountryCultureID>
      <d2p1:Properties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>sample string 4</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </d2p1:Properties>
    </d2p1:OutputBrandCountryCultureModel>
    <d2p1:OutputBrandCountryCultureModel>
      <d2p1:CultureID>2</d2p1:CultureID>
      <d2p1:IsBrowserDetectionAllowed>true</d2p1:IsBrowserDetectionAllowed>
      <d2p1:IsNewUserRegistrationAllowed>true</d2p1:IsNewUserRegistrationAllowed>
      <d2p1:BrandCountryCultureID>1</d2p1:BrandCountryCultureID>
      <d2p1:Properties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value>sample string 4</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </d2p1:Properties>
    </d2p1:OutputBrandCountryCultureModel>
  </Cultures>
  <Properties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Properties>
</OutputBrandCountryModel>

application/bson

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