GET api/{language}/Dashboard/GetActivatedBonusOverview?startDate={startDate}&endDate={endDate}&currencyCode={currencyCode}

Getting data for Activated Bonus Overview

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startDate

Report will be generated based on data starting on this date (ex. 2016-10-26).

date

Required

endDate

Report will be generated based on data ending on this date (ex. 2017-10-26).

date

Required

currencyCode

string

None.

language

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of BonusActivatedValue
NameDescriptionTypeAdditional information
ProductCategoryId

integer

None.

Amount

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductCategoryId": 1,
    "Amount": 1.0
  },
  {
    "ProductCategoryId": 1,
    "Amount": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfBonusActivatedValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BetConstruct.AGP.CRM.PlatformAPI.Models">
  <BonusActivatedValue>
    <Amount>1</Amount>
    <ProductCategoryId>1</ProductCategoryId>
  </BonusActivatedValue>
  <BonusActivatedValue>
    <Amount>1</Amount>
    <ProductCategoryId>1</ProductCategoryId>
  </BonusActivatedValue>
</ArrayOfBonusActivatedValue>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].ProductCategoryId"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Amount"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].ProductCategoryId"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Amount"

1
--MultipartDataMediaFormatterBoundary1q2w3e--