PUT Brands/{brandID}/Questions

Updates Brand Question Type Overrides

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

Brand ID

integer

Required

Body Parameters

List of BrandQuestionTypeModel to Update

Collection of BrandQuestionTypeModel
NameDescriptionTypeAdditional information
QuestionID

integer

Required

QuestionType

QuestionType

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "QuestionID": 1,
    "QuestionType": 1
  },
  {
    "QuestionID": 1,
    "QuestionType": 1
  }
]

text/html

Sample:
[{"QuestionID":1,"QuestionType":1},{"QuestionID":1,"QuestionType":1}]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Enum value 'Behavioral' is invalid for type 'Toluna.TEF.Common.ViewModels.QuestionSets.QuestionType' and cannot be serialized. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Enum value 'Behavioral' is invalid for type 'Toluna.TEF.Common.ViewModels.QuestionSets.QuestionType' and cannot be serialized. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.

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

application/bson

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

Response Information

Resource Description

List of BrandQuestionSetModel

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.