{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/","auth":"required","settings":"","examples":{"codes":[]},"method":"post","results":{"codes":[{"status":200,"language":"json","code":"\"freeSpinsAdded\": {\n  \"success\": true,\n  \"batchId\": 3,\n  \"errorMessage\": \"\"\n}","name":""}]},"params":[{"name":"action","type":"string","default":"addFreeSpinsToAll","desc":"","required":true,"in":"body","ref":"","_id":"570b6b54a8e6392200cabd5c"},{"name":"gameId","type":"int","default":"43","desc":"","required":true,"in":"body","ref":"","_id":"570b6b54a8e6392200cabd5b"},{"name":"numberOfSpins","type":"int","default":"30","desc":"","required":true,"in":"body","ref":"","_id":"570b6b54a8e6392200cabd5a"},{"name":"startEpochMillis","type":"long","default":"11002121352","desc":"Epoch time when the freespins campaign starts","required":true,"in":"body","ref":"","_id":"583d4e3e79d6151900128b47"},{"name":"expirationEpochMillis","type":"long","default":"12002141651","desc":"Epoch time when the freespins campaign ends","required":true,"in":"body","ref":"","_id":"570b6b54a8e6392200cabd59"},{"name":"numberOfLinesPerSpin","type":"int","default":"partner default","desc":"Must be equal to or above 1","required":false,"in":"body","ref":"","_id":"5b83cc3dd46b330003db301c"},{"name":"stakeMultiplier","type":"int","default":"partner default","desc":"Must be between 1-178","required":false,"in":"body","ref":"","_id":"5b83cc3dd46b330003db301b"}]},"next":{"description":"","pages":[]},"title":"addFreeSpinsToAll","type":"endpoint","slug":"addfreespinstoall","excerpt":"This action is used to add freespins to all players in a particular game.<br>This action only works for slot machines prior to Starlight and Showers.","body":"","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a55b149f85c3a0032f10e6e","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Freespins API","slug":"freespins-api","order":3,"from_sync":false,"reference":false,"_id":"5a55b149f85c3a0032f10e59","version":"5a55b149f85c3a0032f10e55","project":"550dd1756c0b4c0d00fd436e","createdAt":"2016-04-11T09:12:43.485Z","__v":0},"parentDoc":null,"user":"5514315e67d97f2500b774ed","project":"550dd1756c0b4c0d00fd436e","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-11T09:16:04.474Z","githubsync":"","__v":2}

postaddFreeSpinsToAll

This action is used to add freespins to all players in a particular game.<br>This action only works for slot machines prior to Starlight and Showers.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

action:
required
stringaddFreeSpinsToAll
gameId:
required
integer43
numberOfSpins:
required
integer30
startEpochMillis:
required
long11002121352
Epoch time when the freespins campaign starts
expirationEpochMillis:
required
long12002141651
Epoch time when the freespins campaign ends
numberOfLinesPerSpin:
integerpartner default
Must be equal to or above 1
stakeMultiplier:
integerpartner default
Must be between 1-178

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 }}