addFreeRounds
Request
{
"api_login": "danitestdev_s",
"api_password": "12345678",
"method": "addFreeRounds",
"title": "freeround 1",//not mandatory
"playerids": "960657",//user_username in getGame
"gameids": "2057",
"available": 4, //number of freerounds
"validTo": "2019-01-22",
"validFrom": "2019-01-21",
"betlevel": "min",//Possible values are: min, mid, max. It defines the cost of the bet during the freerounds
"currency": "EUR"
}
Min value is min bet in the game. Mid 0.5€ - 2€, max around 4€
"validFrom" time should start at 00:00 and "validTo" should end at 23:59:59 server time
Response
{
"error": 0,
"response": "{\"created\":1,\"freeround_id\":\"5c45d2b470d554210e0516ff\"}",
"currency": "EUR"
}
On error provide meaningful message
{
"error": 1,
"message": "addFreeRounds: Date 'validTo' can't be smaller then todays date!"
}