/pwg/cancelplayer

Whit this function you can cancel one player on a booking.

Function: cancelplayer

parameters: registrationid, cancelreasonid, relationid

Example: https://backend.prowaregolf.nl/api/cancelplayer/key/<your authrisation code here>/registrationid/<registrationid>/cancelreasonid/<cancelreasonid>/relationid/<relationid>

result:

{
 "cancelplayer":[
  {
   "registrationid":"114",
   "playingdate":"2015-03-16",
   "starttime":"13:00:00",
   "combinationid":"11",
   "players":[
    {
     "relationid":"1199",
     "relationcode":"ONDE 1",
     "relationname":"M. Onderstal",
     "checkedin":"N",
     "cancelreasonid":"2"
    },
    {
     "relationid":"1176",
     "relationcode":"KERK 1",
     "relationname":"E.L. Kerkhoven",
     "checkedin":"N",
     "cancelreasonid":"0"
    }
   ]
  }
 ]
}