This is an old revision of the document!
Returns the list of available courses
Function: getfreetimesforplayer
parameters: relationid, playingdate, holes, numberofplayers
Example: https://backend.prowaregolf.nl/api/getfreetimesforplayer/key/<your authrisation code here>/relationid/<relationid>/playingdate/<playingdate>/holes/<0 for 9 holes or 1 for 18 holes>/numberofplayers/<1, 2, 3 or 4>
result:
{ "getfreetimesforplayer":[ { "starttime":"09:00:00", "combinationid":"2", "objectid1":"4", "objectid2":"3", "duration":"02:00:00", "numberofplayer":"0", "maxplayer":"2" }, { "starttime":"09:10:00", "combinationid":"2", "objectid1":"4", "objectid2":"3", "duration":"02:00:00", "numberofplayer":"0", "maxplayer":"2" }, { "starttime":"09:20:00", "combinationid":"2", "objectid1":"4", "objectid2":"3", "duration":"02:00:00", "numberofplayer":"0", "maxplayer":"2" } ] }