PUT Brands/{brandID}/QuestionSets/PostRegistrationSequence

Sets the sequence numbers of non-routable question sets for a brand.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

Brand Unique ID

integer

Required

Body Parameters

Collection of

Collection of BrandQuestionSetSequenceModel
NameDescriptionTypeAdditional information
QuestionSetID

integer

Required

SequenceNumber

integer

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "QuestionSetID": 1,
    "SequenceNumber": 2
  },
  {
    "QuestionSetID": 1,
    "SequenceNumber": 2
  }
]

text/html

Sample:
[{"QuestionSetID":1,"SequenceNumber":2},{"QuestionSetID":1,"SequenceNumber":2}]

application/xml, text/xml

Sample:
<ArrayOfBrandQuestionSetSequenceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.QuestionSet">
  <BrandQuestionSetSequenceModel>
    <QuestionSetID>1</QuestionSetID>
    <SequenceNumber>2</SequenceNumber>
  </BrandQuestionSetSequenceModel>
  <BrandQuestionSetSequenceModel>
    <QuestionSetID>1</QuestionSetID>
    <SequenceNumber>2</SequenceNumber>
  </BrandQuestionSetSequenceModel>
</ArrayOfBrandQuestionSetSequenceModel>

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.