User Tools

Site Tools


addplayer

/pwg/addplayer

Adds a new player to a match.

Function: addplayer

parameters: lidnummer, matchid, remark, bylidnummer

Optional parameter: activecheck - (when you use de parameter activecheck you can use 1 or 0, when 1 is used de api will check the sex and handicap before subscribe. When the sex and/or handicap is'nt correct, thwe API returns -9).

Example: https://backend.prowaregolf.nl/api/addplayer/key/<your authrisation code here>/lidnummer/<member id>/matchid/<your matchid>/remark/<member remark>/bylidnummer/<memberid of the subscriber>

result:

{
 "addplayer":[
  "4158"
 ]
}
addplayer.txt · Last modified: 2016/03/01 13:14 by marcel