{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","results":{"codes":[{"status":200,"language":"json","code":"{  \n   \"gameSessionSums\":[  \n      {  \n         \"isCoins\":false,\n         \"numStartedGameSessions\":211,\n         \"numUnfinishedGameSessions\":211,\n         \"numFinishedGameSessions\":211\n      },\n      {  \n         \"isCoins\":true,\n         \"numStartedGameSessions\":211,\n         \"numUnfinishedGameSessions\":211,\n         \"numFinishedGameSessions\":211\n      }\n   ]\n}","name":""}]},"settings":"","examples":{"codes":[]},"method":"post","params":[{"name":"action","type":"string","default":"getGameSessionSums","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e340086425f"},{"name":"gameId","type":"int","default":"42","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e340086425e"},{"name":"fromYearUTC","type":"int","default":"2014","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e340086425d"},{"name":"fromMonthUTC","type":"int","default":"2","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e340086425c"},{"name":"fromDayUTC","type":"int","default":"26","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e340086425b"},{"name":"fromHourUTC","type":"int","default":"12","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e340086425a"},{"name":"toYearUTC","type":"int","default":"2014","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e3400864259"},{"name":"toMonthUTC","type":"int","default":"3","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e3400864258"},{"name":"toDayUTC","type":"int","default":"28","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e3400864257"},{"name":"toHourUTC","type":"int","default":"14","desc":"","required":true,"in":"body","ref":"","_id":"570b8b4cb37c6e3400864256"},{"name":"ruleId","type":"int","default":"11","desc":"","required":false,"in":"body","ref":"","_id":"570b8b4cb37c6e3400864255"},{"name":"siteId","type":"int","default":"1","desc":"","required":false,"in":"body","ref":"","_id":"573ad32217422532001d3566"}]},"next":{"description":"","pages":[]},"title":"getGameSessionSums","type":"endpoint","slug":"getgamesessionsums","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 how many game sessions are started, finished and unfinished. An unfinished game session is a game session which started in an earlier time slice and is still not finished.","body":"","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b14af85c3a0032f10e70","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},"project":"550dd1756c0b4c0d00fd436e","user":"5514315e67d97f2500b774ed","parentDoc":null,"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:32:28.093Z","githubsync":"","__v":0}

postgetGameSessionSums

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 how many game sessions are started, finished and unfinished. An unfinished game session is a game session which started in an earlier time slice and is still not finished.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

action:
required
stringgetGameSessionSums
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 }}