PUT Brands/{brandID}/SiteIncentiveData

Update an Site Incentive Data.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

Brand ID

integer

Required

Body Parameters

UpdateSiteIncentiveDataModel

InputSiteIncentiveDataModel
NameDescriptionTypeAdditional information
IncentiveActivityID

integer

Required

Range: inclusive between 1 and 32767

CreditAmount

decimal number

Required

Range: inclusive between 4.94065645841247E-324 and 1.79769313486232E+308

Request Formats

application/json, text/json

Sample:
{
  "IncentiveActivityID": 1,
  "CreditAmount": 2.1
}

text/html

Sample:
{"IncentiveActivityID":1,"CreditAmount":2.1}

application/xml, text/xml

Sample:
<InputSiteIncentiveDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Incentives">
  <CreditAmount>2.1</CreditAmount>
  <IncentiveActivityID>1</IncentiveActivityID>
</InputSiteIncentiveDataModel>

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

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.