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

Getting data for 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 BonusValue
NameDescriptionTypeAdditional information
ProductCategoryId

integer

None.

ProductId

integer

None.

TypeId

integer

None.

TriggerType

integer

None.

Awarded

decimal number

None.

NumberOfPlayers

integer

None.

Activated

decimal number

None.

Deposit

decimal number

None.

Cost

decimal number

None.

ConvertedBonus

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductCategoryId": 1,
    "ProductId": 1,
    "TypeId": 1,
    "TriggerType": 1,
    "Awarded": 1.0,
    "NumberOfPlayers": 1,
    "Activated": 1.0,
    "Deposit": 1.0,
    "Cost": 1.0,
    "ConvertedBonus": 1.0
  },
  {
    "ProductCategoryId": 1,
    "ProductId": 1,
    "TypeId": 1,
    "TriggerType": 1,
    "Awarded": 1.0,
    "NumberOfPlayers": 1,
    "Activated": 1.0,
    "Deposit": 1.0,
    "Cost": 1.0,
    "ConvertedBonus": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfBonusValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BetConstruct.AGP.CRM.PlatformAPI.Models">
  <BonusValue>
    <Activated>1</Activated>
    <Awarded>1</Awarded>
    <ConvertedBonus>1</ConvertedBonus>
    <Cost>1</Cost>
    <Deposit>1</Deposit>
    <NumberOfPlayers>1</NumberOfPlayers>
    <ProductCategoryId>1</ProductCategoryId>
    <ProductId>1</ProductId>
    <TriggerType>1</TriggerType>
    <TypeId>1</TypeId>
  </BonusValue>
  <BonusValue>
    <Activated>1</Activated>
    <Awarded>1</Awarded>
    <ConvertedBonus>1</ConvertedBonus>
    <Cost>1</Cost>
    <Deposit>1</Deposit>
    <NumberOfPlayers>1</NumberOfPlayers>
    <ProductCategoryId>1</ProductCategoryId>
    <ProductId>1</ProductId>
    <TriggerType>1</TriggerType>
    <TypeId>1</TypeId>
  </BonusValue>
</ArrayOfBonusValue>

multipart/form-data

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1
--MultipartDataMediaFormatterBoundary1q2w3e--