Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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"
}
  • No labels