GET Brands/{brandID}/SiteIncentiveData?activityID={activityID}

Get default Site Incentive Data for the Brand.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

Brand ID

integer

Required

activityID

Incentive Activity ID

integer

None.

Body Parameters

None.

Response Information

Resource Description

List of Site Incentive Data Models

Collection of OutputSiteIncentiveDataModel
NameDescriptionTypeAdditional information
SiteIncentiveDataID

integer

None.

BrandID

integer

None.

CountryID

integer

None.

IncentiveActivityID

integer

Required

Range: inclusive between 1 and 32767

CreditAmount

decimal number

Required

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

Response Formats

application/json, text/json

Sample:
[
  {
    "SiteIncentiveDataID": 1,
    "BrandID": 2,
    "CountryID": 3,
    "IncentiveActivityID": 4,
    "CreditAmount": 5.1
  },
  {
    "SiteIncentiveDataID": 1,
    "BrandID": 2,
    "CountryID": 3,
    "IncentiveActivityID": 4,
    "CreditAmount": 5.1
  }
]

text/html

Sample:
[{"SiteIncentiveDataID":1,"BrandID":2,"CountryID":3,"IncentiveActivityID":4,"CreditAmount":5.1},{"SiteIncentiveDataID":1,"BrandID":2,"CountryID":3,"IncentiveActivityID":4,"CreditAmount":5.1}]

application/xml, text/xml

Sample:
<ArrayOfOutputSiteIncentiveDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Incentives">
  <OutputSiteIncentiveDataModel>
    <CreditAmount>5.1</CreditAmount>
    <IncentiveActivityID>4</IncentiveActivityID>
    <BrandID>2</BrandID>
    <CountryID>3</CountryID>
    <SiteIncentiveDataID>1</SiteIncentiveDataID>
  </OutputSiteIncentiveDataModel>
  <OutputSiteIncentiveDataModel>
    <CreditAmount>5.1</CreditAmount>
    <IncentiveActivityID>4</IncentiveActivityID>
    <BrandID>2</BrandID>
    <CountryID>3</CountryID>
    <SiteIncentiveDataID>1</SiteIncentiveDataID>
  </OutputSiteIncentiveDataModel>
</ArrayOfOutputSiteIncentiveDataModel>

application/bson

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