POST Brands/{brandID}/QuestionSets/Country/Culture

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

integer

Required

Body Parameters

InputBrandQuestionSetCountryCultureModel
NameDescriptionTypeAdditional information
CountryID

integer

Required

CultureID

integer

Required

QuestionSetID

integer

Required

NumberOfDaysToReDisplay

integer

None.

NeverReDisplay

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CountryID": 1,
  "CultureID": 2,
  "QuestionSetID": 3,
  "NumberOfDaysToReDisplay": 1,
  "NeverReDisplay": true
}

text/html

Sample:
{"CountryID":1,"CultureID":2,"QuestionSetID":3,"NumberOfDaysToReDisplay":1,"NeverReDisplay":true}

application/xml, text/xml

Sample:
<InputBrandQuestionSetCountryCultureModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore">
  <CountryID>1</CountryID>
  <CultureID>2</CultureID>
  <NeverReDisplay>true</NeverReDisplay>
  <NumberOfDaysToReDisplay>1</NumberOfDaysToReDisplay>
  <QuestionSetID>3</QuestionSetID>
</InputBrandQuestionSetCountryCultureModel>

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 'InputBrandQuestionSetCountryCultureModel'.

application/bson

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

Response Information

Resource Description

BrandStoreResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Errors

Collection of string

None.

ErrorCode

APIErrorCodes

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 0,
  "Succeeded": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

text/html

Sample:
{"ErrorCode":0,"Succeeded":true,"Errors":["sample string 1","sample string 2"]}

application/bson

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