6.3 removeFreeRounds()

It is not possible to remove freerounds once they are created on game provider side (when player enters the game).

Parameters

  • string $freeround_id required string  - You get it in response of addFreeRounds()
  • string $playerids =string - Value of the variable looks like 220650,124144 or 220650. If param is not set it will take all players registered under given freeround_id. Note that these nubers are EXAMPLES


Return Values

  • type - String




REST REQUEST
Array
    (
        [api_password] => xapitest
        [api_login] => xapitest
        [method] => removeFreeRounds
        [playerids] => "220650,124144"
		[freeround_id] => "5bb1ba5a492f591694004d3e"
		[currency] => EUR
    )
REST RESPONSE
ON ERROR
{
	"error": 1,
	"message": "Gameprovider.removeFreeRounds recieved invalid input:The freeround_id is not valid."
}
ON SUCCESS
{
	"error": 0,
	"response": {
		"successfull_removals": [
			124144
		],
		"unsuccessfull_removals": [
			220650
		]
	},
	"currency": "EUR"
}