{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","method":"post","results":{"codes":[{"name":"","status":200,"language":"json","code":"{  \n   \"gameRequestSums\":[  \n      {  \n         \"currencyISO4217\":\"DKK\",\n         \"isCoins\":false,\n         \"numTotalGameRequests\":212,\n         \"amountTotalGameRequests\":23514,\n         \"numTotalGameRequestsWeb\":182,\n         \"amountTotalGameRequestsWeb\":20514,\n         \"numTotalGameRequestsMobile\":30,\n         \"amountTotalGameRequestsMobile\":3000,\n         \"loyaltyTotalGameRequests\":12500,\n         \"numWonGameRequests\":100,\n         \"amountWonGameRequests\":500,\n         \"amountBetOnWonGameRequests\":500,\n         \"loyaltyWonGameRequests\":2500,\n         \"numLostGameRequests\":600,\n         \"amountLostGameRequests\":5000,\n         \"loyaltyLostGameRequests\":2500,\n         \"numUnfinishedGameRequests\":100,\n         \"amountBetUnfinishedGameRequests\":100,\n         \"numRefundedGameRequests\":100,\n         \"amountRefundedGameRequests\":100,\n         \"numWonGameRequestsLessOrEq200Web\":100,\n         \"amountWonGameRequestsLessOrEq200Web\":500,\n         \"amountBetOnWonGameRequestsLessOrEq200Web\":500,\n         \"numWonGameRequestsLessOrEq200Mobile\":100,\n         \"amountWonGameRequestsLessOrEq200Mobile\":500,\n         \"amountBetOnWonGameRequestsLessOrEq200Mobile\":500,\n         \"numWonGameRequestsAbove200Web\":100,\n         \"amountWonGameRequestsAbove200Web\":500,\n         \"amountBetOnWonGameRequestsAbove200Web\":500,\n         \"numWonGameRequestsAbove200Mobile\":100,\n         \"amountWonGameRequestsAbove200Mobile\":500,\n         \"amountBetOnWonGameRequestsAbove200Mobile\":500,\n         \"numRefundedGameRequestsWeb\":100,\n         \"amountRefundedGameRequestsWeb\":500,\n         \"numRefundedGameRequestsMobile\":100,\n         \"amountRefundedGameRequestsMobile\":500,\n         \"numLostGameRequestsWeb\":100,\n         \"amountLostGameRequestsWeb\":500,\n         \"numLostGameRequestsMobile\":100,\n         \"amountLostGameRequestsMobile\":500,\n         \"numMinorJackpotWonOnGameRequestsLessOrEq200Web\":500,\n         \"amountMinorJackpotWonOnGameRequestsLessOrEq200Web\":500,\n         \"numMinorJackpotWonOnGameRequestsLessOrEq200Mobile\":500,\n         \"amountMinorJackpotWonOnGameRequestsLessOrEq200Mobile\":500,\n         \"numMinorJackpotWonOnGameRequestsAbove200Web\":500,\n         \"amountMinorJackpotWonOnGameRequestsAbove200Web\":500,\n         \"numMinorJackpotWonOnGameRequestsAbove200Mobile\":500,\n         \"amountMinorJackpotWonOnGameRequestsAbove200Mobile\":500,\n         \"amountNetRakeGameRequestsLessOrEq200Web\":500,\n         \"amountNetRakeGameRequestsAbove200Web\":500,\n         \"amountNetRakeGameRequestsLessOrEq200Mobile\":500,\n         \"amountNetRakeGameRequestsAbove200Mobile\":500,\n         \"freespins\":[  \n            {  \n               \"freespinsBatchId\":1,\n               \"freespinsNumberOfSpinsWeb\":25,\n               \"freespinsValueOfSpinsWeb\":2500,\n               \"freespinsValueOfWinningsWeb\":2200,\n               \"freespinsNumberOfSpinsMobile\":1,\n               \"freespinsValueOfSpinsMobile\":100,\n               \"freespinsValueOfWinningsMobile\":90\n            },\n            {  \n               \"freespinsBatchId\":2,\n               \"freespinsNumberOfSpinsWeb\":25,\n               \"freespinsValueOfSpinsWeb\":2500,\n               \"freespinsValueOfWinningsWeb\":2200,\n               \"freespinsNumberOfSpinsMobile\":1,\n               \"freespinsValueOfSpinsMobile\":100,\n               \"freespinsValueOfWinningsMobile\":90\n            }\n         ]\n      }\n   ]\n}"}]},"settings":"","examples":{"codes":[]},"params":[{"name":"action","type":"string","default":"getGameRequestSums","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e340086426e"},{"name":"gameId","type":"int","default":"42","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e340086426d"},{"name":"fromYearUTC","type":"int","default":"2014","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e340086426c"},{"name":"fromMonthUTC","type":"int","default":"2","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e340086426b"},{"name":"fromDayUTC","type":"int","default":"26","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e340086426a"},{"name":"fromHourUTC","type":"int","default":"12","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e3400864269"},{"name":"toYearUTC","type":"int","default":"2014","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e3400864268"},{"name":"toMonthUTC","type":"int","default":"3","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e3400864267"},{"name":"toDayUTC","type":"int","default":"28","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e3400864266"},{"name":"toHourUTC","type":"int","default":"14","desc":"","required":true,"in":"body","ref":"","_id":"570b8bf8b37c6e3400864265"},{"name":"ruleId","type":"int","default":"11","desc":"","required":false,"in":"body","ref":"","_id":"570b8bf8b37c6e3400864264"},{"name":"siteId","type":"int","default":"1","desc":"","required":false,"in":"body","ref":"","_id":"573ad33809988e0e000dd839"}]},"next":{"description":"","pages":[]},"title":"getGameRequestSums","type":"endpoint","slug":"getgamerequestsums","excerpt":"The reports API is used to extract periodic data pertaining to games played, loyalty and jackpots. The data is intended for creating reports. Spigo will need to know if you intend to use these action as support for them needs to be setup in the Spigoworld CMS. Once setup an intermediate data layer will be automatically created facilitating fast extraction of the data provided through these calls.<br><br>\nThis action extracts data pertaining to game requests - i.e. bets - giving insights toto the number and distribution of bets.","body":"","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b14af85c3a0032f10e71","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Reports API","slug":"reports-api","order":4,"from_sync":false,"reference":false,"_id":"5a55b149f85c3a0032f10e5a","version":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2016-04-11T11:26:24.624Z","__v":0},"parentDoc":null,"project":"550dd1756c0b4c0d00fd436e","user":"5514315e67d97f2500b774ed","version":{"version":"1.5","version_clean":"1.5.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5a55b149f85c3a0032f10e56","5a55b149f85c3a0032f10e57","5a55b149f85c3a0032f10e58","5a55b149f85c3a0032f10e59","5a55b149f85c3a0032f10e5a","5a55b149f85c3a0032f10e5b","5a55b149f85c3a0032f10e5c","5a55b149f85c3a0032f10e5d","5d1da68fa911a50226595581"],"_id":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2018-01-10T06:23:05.406Z","releaseDate":"2018-01-10T06:23:05.406Z","__v":2},"createdAt":"2016-04-11T11:35:20.939Z","githubsync":"","__v":0}

postgetGameRequestSums

The reports API is used to extract periodic data pertaining to games played, loyalty and jackpots. The data is intended for creating reports. Spigo will need to know if you intend to use these action as support for them needs to be setup in the Spigoworld CMS. Once setup an intermediate data layer will be automatically created facilitating fast extraction of the data provided through these calls.<br><br> This action extracts data pertaining to game requests - i.e. bets - giving insights toto the number and distribution of bets.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

action:
required
stringgetGameRequestSums
gameId:
required
integer42
fromYearUTC:
required
integer2014
fromMonthUTC:
required
integer2
fromDayUTC:
required
integer26
fromHourUTC:
required
integer12
toYearUTC:
required
integer2014
toMonthUTC:
required
integer3
toDayUTC:
required
integer28
toHourUTC:
required
integer14
ruleId:
integer11
siteId:
integer1

Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}