PUT Brands/{brandID}/SurveyPointsLimitGrid

Update default Survey Points Limit Grid for the Brand.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

Brand ID

integer

Required

Body Parameters

Input Survey Points Limit Grid Model

InputSurveyPointsLimitGridModel
NameDescriptionTypeAdditional information
LessThan5Minutes

decimal number

Required

Between5And10Minutes

decimal number

Required

Between10And15Minutes

decimal number

Required

Between15And20Minutes

decimal number

Required

Between20And30Minutes

decimal number

Required

Between30And45Minutes

decimal number

Required

Between45And60Minutes

decimal number

Required

Over60Minutes

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "LessThan5Minutes": 1.1,
  "Between5And10Minutes": 2.1,
  "Between10And15Minutes": 3.1,
  "Between15And20Minutes": 4.1,
  "Between20And30Minutes": 5.1,
  "Between30And45Minutes": 6.1,
  "Between45And60Minutes": 7.1,
  "Over60Minutes": 8.1
}

text/html

Sample:
{"LessThan5Minutes":1.1,"Between5And10Minutes":2.1,"Between10And15Minutes":3.1,"Between15And20Minutes":4.1,"Between20And30Minutes":5.1,"Between30And45Minutes":6.1,"Between45And60Minutes":7.1,"Over60Minutes":8.1}

application/xml, text/xml

Sample:
<InputSurveyPointsLimitGridModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Incentives">
  <Between10And15Minutes>3.1</Between10And15Minutes>
  <Between15And20Minutes>4.1</Between15And20Minutes>
  <Between20And30Minutes>5.1</Between20And30Minutes>
  <Between30And45Minutes>6.1</Between30And45Minutes>
  <Between45And60Minutes>7.1</Between45And60Minutes>
  <Between5And10Minutes>2.1</Between5And10Minutes>
  <LessThan5Minutes>1.1</LessThan5Minutes>
  <Over60Minutes>8.1</Over60Minutes>
</InputSurveyPointsLimitGridModel>

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

application/bson

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.

application/bson

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