POST Brands/{brandID}/OpenSurveyIncentives

Create default Open Survey Incentives Activity for the Brand.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

Brand ID

integer

Required

Body Parameters

Add Open Survey Incentives Model

InputOpenSurveyIncentivesModel
NameDescriptionTypeAdditional information
MinCredit

decimal number

None.

MaxCredit

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "MinCredit": 1.1,
  "MaxCredit": 2.1
}

text/html

Sample:
{"MinCredit":1.1,"MaxCredit":2.1}

application/xml, text/xml

Sample:
<InputOpenSurveyIncentivesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Incentives">
  <MaxCredit>2.1</MaxCredit>
  <MinCredit>1.1</MinCredit>
</InputOpenSurveyIncentivesModel>

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

application/bson

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

Response Information

Resource Description

Output Open Survey Incentives Model

OutputOpenSurveyIncentivesModel
NameDescriptionTypeAdditional information
OpenSurveyIncentivesID

integer

None.

BrandID

integer

None.

CountryID

integer

None.

MinCredit

decimal number

None.

MaxCredit

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "OpenSurveyIncentivesID": 1,
  "BrandID": 2,
  "CountryID": 3,
  "MinCredit": 4.1,
  "MaxCredit": 5.1
}

text/html

Sample:
{"OpenSurveyIncentivesID":1,"BrandID":2,"CountryID":3,"MinCredit":4.1,"MaxCredit":5.1}

application/xml, text/xml

Sample:
<OutputOpenSurveyIncentivesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Incentives">
  <MaxCredit>5.1</MaxCredit>
  <MinCredit>4.1</MinCredit>
  <BrandID>2</BrandID>
  <CountryID>3</CountryID>
  <OpenSurveyIncentivesID>1</OpenSurveyIncentivesID>
</OutputOpenSurveyIncentivesModel>

application/bson

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