{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","examples":{"codes":[]},"method":"post","results":{"codes":[{"status":200,"language":"json","code":"{  \n   \"sumsReady\":{  \n      \"success\":true\n   }\n}","name":""}]},"settings":"","params":[{"name":"action","type":"string","default":"getLoyaltySums","desc":"","required":true,"in":"body","ref":"","_id":"570b8ca80c61f73400da82c1"},{"name":"fromYearUTC","type":"int","default":"2014","desc":"","required":true,"in":"body","ref":"","_id":"570b8ca80c61f73400da82c0"},{"name":"fromMonthUTC","type":"int","default":"2","desc":"","required":true,"in":"body","ref":"","_id":"570b8ca80c61f73400da82bf"},{"name":"fromDayUTC","type":"int","default":"26","desc":"","required":true,"in":"body","ref":"","_id":"570b8ca80c61f73400da82be"},{"name":"fromHourUTC","type":"int","default":"12","desc":"","required":true,"in":"body","ref":"","_id":"570b8ca80c61f73400da82bd"},{"name":"toYearUTC","type":"int","default":"2014","desc":"","required":true,"in":"body","ref":"","_id":"570b8ca80c61f73400da82bc"},{"name":"toMonthUTC","type":"int","default":"3","desc":"","required":true,"in":"body","ref":"","_id":"570b8ca80c61f73400da82bb"},{"name":"toDayUTC","type":"int","default":"28","desc":"","required":true,"in":"body","ref":"","_id":"570b8ca80c61f73400da82ba"},{"name":"toHourUTC","type":"int","default":"14","desc":"","required":true,"in":"body","ref":"","_id":"570b8ca80c61f73400da82b9"},{"name":"siteId","type":"int","default":"1","desc":"","required":false,"in":"body","ref":"","_id":"573ad38017422532001d3569"}]},"next":{"description":"","pages":[]},"title":"isSumsReadyForPeriod","type":"endpoint","slug":"issumsreadyforperiod","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 is a \"helper\" action which allows the partner to see if a particular period is ready for having reports extracted.","body":"","updates":[],"order":4,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b14af85c3a0032f10e74","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-05-09T22:39:55.256Z","githubsync":"","__v":0}

postisSumsReadyForPeriod

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 is a "helper" action which allows the partner to see if a particular period is ready for having reports extracted.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

action:
required
stringgetLoyaltySums
fromYearUTC:
required
integer2014
fromMonthUTC:
required
integer2
fromDayUTC:
required
integer26
fromHourUTC:
required
integer12
toYearUTC:
required
integer2014
toMonthUTC:
required
integer3
toDayUTC:
required
integer28
toHourUTC:
required
integer14
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 }}