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

Getting data for SportBook 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

SportBookOverview
NameDescriptionTypeAdditional information
Details

Collection of SportBookValue

None.

BetCountsPerType

Dictionary of BetTypeEnum [key] and integer [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "Details": [
    {
      "IsLive": true,
      "Turnover": 1.0,
      "WinningAmount": 1.0,
      "UnsettledBetsAmount": 1.0,
      "NumberOfBets": 1,
      "NumberOfPlayers": 1,
      "AverageBetAmount": 1.0,
      "GGR": 1.0,
      "Profitness": 1.0,
      "BetPerPlayer": 1.0,
      "SingleBetCount": 1,
      "MultipleBetCount": 1,
      "SystemBetCount": 1,
      "ChainBetCount": 1,
      "Source": 0,
      "CountryCode": "sample string 1"
    },
    {
      "IsLive": true,
      "Turnover": 1.0,
      "WinningAmount": 1.0,
      "UnsettledBetsAmount": 1.0,
      "NumberOfBets": 1,
      "NumberOfPlayers": 1,
      "AverageBetAmount": 1.0,
      "GGR": 1.0,
      "Profitness": 1.0,
      "BetPerPlayer": 1.0,
      "SingleBetCount": 1,
      "MultipleBetCount": 1,
      "SystemBetCount": 1,
      "ChainBetCount": 1,
      "Source": 0,
      "CountryCode": "sample string 1"
    }
  ],
  "BetCountsPerType": {
    "Single": 1
  }
}

application/xml, text/xml

Sample:
<SportBookOverview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BetConstruct.AGP.CRM.PlatformAPI.Models">
  <BetCountsPerType xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfBetTypeEnumlongZ0myD6_Pt>
      <d2p1:Key>Single</d2p1:Key>
      <d2p1:Value>1</d2p1:Value>
    </d2p1:KeyValueOfBetTypeEnumlongZ0myD6_Pt>
  </BetCountsPerType>
  <Details>
    <SportBookValue>
      <CountryCode>sample string 1</CountryCode>
      <Source>Other</Source>
      <AverageBetAmount>1</AverageBetAmount>
      <BetPerPlayer>1</BetPerPlayer>
      <ChainBetCount>1</ChainBetCount>
      <GGR>1</GGR>
      <IsLive>true</IsLive>
      <MultipleBetCount>1</MultipleBetCount>
      <NumberOfBets>1</NumberOfBets>
      <NumberOfPlayers>1</NumberOfPlayers>
      <Profitness>1</Profitness>
      <SingleBetCount>1</SingleBetCount>
      <SystemBetCount>1</SystemBetCount>
      <Turnover>1</Turnover>
      <UnsettledBetsAmount>1</UnsettledBetsAmount>
      <WinningAmount>1</WinningAmount>
    </SportBookValue>
    <SportBookValue>
      <CountryCode>sample string 1</CountryCode>
      <Source>Other</Source>
      <AverageBetAmount>1</AverageBetAmount>
      <BetPerPlayer>1</BetPerPlayer>
      <ChainBetCount>1</ChainBetCount>
      <GGR>1</GGR>
      <IsLive>true</IsLive>
      <MultipleBetCount>1</MultipleBetCount>
      <NumberOfBets>1</NumberOfBets>
      <NumberOfPlayers>1</NumberOfPlayers>
      <Profitness>1</Profitness>
      <SingleBetCount>1</SingleBetCount>
      <SystemBetCount>1</SystemBetCount>
      <Turnover>1</Turnover>
      <UnsettledBetsAmount>1</UnsettledBetsAmount>
      <WinningAmount>1</WinningAmount>
    </SportBookValue>
  </Details>
</SportBookOverview>

multipart/form-data

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

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Details[0].Turnover"

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

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

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

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

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

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

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

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

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

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

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

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

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

Other
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Details[0].CountryCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Details[1].IsLive"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Details[1].Turnover"

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

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

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

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

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

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

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

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

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

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

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

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

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

Other
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Details[1].CountryCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="BetCountsPerType[0].Key"

Single
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="BetCountsPerType[0].Value"

1
--MultipartDataMediaFormatterBoundary1q2w3e--