GET Brands/{brandID}/QuestionSets?questionSetID={questionSetID}

Get Brand Question Set using Brand ID and Question Set ID. This method is returning null response when brandid is not matching with questionsetID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

Brand ID

integer

Required

questionSetID

Question Set Unique ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of BrandQuestionSetModel

BrandQuestionSetModel
NameDescriptionTypeAdditional information
IsPostRegistration

boolean

None.

IsActive

boolean

None.

SequenceNumber

integer

Required

BrandQuestionSetID

integer

Required

PostRegistrationSequenceNumber

integer

None.

QuestionSetID

integer

Required

IsRegistration

boolean

Required

NumberOfDaysToReDisplay

integer

None.

NeverReDisplay

boolean

None.

Tag

string

String length: inclusive between 0 and 56

Response Formats

application/json, text/json

Sample:
{
  "IsPostRegistration": true,
  "IsActive": true,
  "SequenceNumber": 3,
  "BrandQuestionSetID": 4,
  "PostRegistrationSequenceNumber": 1,
  "QuestionSetID": 5,
  "IsRegistration": true,
  "NumberOfDaysToReDisplay": 1,
  "NeverReDisplay": true,
  "Tag": "sample string 8"
}

text/html

Sample:
{"IsPostRegistration":true,"IsActive":true,"SequenceNumber":3,"BrandQuestionSetID":4,"PostRegistrationSequenceNumber":1,"QuestionSetID":5,"IsRegistration":true,"NumberOfDaysToReDisplay":1,"NeverReDisplay":true,"Tag":"sample string 8"}

application/xml, text/xml

Sample:
<BrandQuestionSetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.QuestionSet">
  <IsPostRegistration>false</IsPostRegistration>
  <IsRegistration>true</IsRegistration>
  <NeverReDisplay>true</NeverReDisplay>
  <NumberOfDaysToReDisplay>1</NumberOfDaysToReDisplay>
  <QuestionSetID>5</QuestionSetID>
  <Tag>sample string 8</Tag>
  <BrandQuestionSetID>4</BrandQuestionSetID>
  <IsActive>true</IsActive>
  <IsPostRegistration>true</IsPostRegistration>
  <PostRegistrationSequenceNumber>1</PostRegistrationSequenceNumber>
  <SequenceNumber>3</SequenceNumber>
</BrandQuestionSetModel>

application/bson

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