User Tools

Site Tools


setplayeroptions

/pwg/setplayeroptions

Set an option on or off by a player on a match.

Function: setplayeroptions

parameters: matchid, playerid, optionid, optionvalue

Example: https://backend.prowaregolf.nl/api/getplayeroptions/key/<your authrisation code here>/matchid/<your matchid>/playerid/<id of the player>/optionid/<id of the option>/optionvalue/<0=off or 1=on>

result:

{
 "Setplayeroptions":[
  {
   "Id":"1",
   "Name":"Handicart"
  },
  {
   "Id":"2",
   "Name":"Ik blijf eten"
  }
 ]
}
setplayeroptions.txt · Last modified: 2014/07/04 16:02 (external edit)