User Tools

Site Tools


setplayerlus

/pwg/setplayerlus

When the player choose a tee tou can set this in the player. You can use the function “getplayerlusoptions” to get the available tees you can use in a match.

You can use this function when you have add a member to match. When you add a member you get a playerid. Use this player id in this function. The categoryid you get from “getplayerlusoptions”.

Function: setplayerlus

parameters: playerid, categoryid

Example: https://backend.prowaregolf.nl/api/setplayerlus/key/<your authrisation code here>/playerid/<id of the player>/categoryid/<id of the category>

result:

{
 "Setplayerlus":[
  {
   "result":"1"
  }
 ]
}
setplayerlus.txt · Last modified: 2015/11/03 12:23 by marcel