==== /igg/courses ==== To retreive a list of golfcourses. parameters: |auth |the authorisation code you received from Intogolf BV (mandatory)| |crsnr |list only this course exclusively| |type |0 courses in alphabetical order, 1 courses ordered on distance| |relnr |client id. the backend will find the preferred course for this client and use it as centercrsnr| |centercrsnr |pass the id of a course to get a list of this course + nearby courses | |rows |number of desired rows| |teetimesyn |1 if you want to show courses that allow teetime bookings| |lessonsyn |1 if you want to show courses that allow lesson bookings| |competitionsyn |1 if you want to show courses that allow competition subscriptions| |handicapsyn |1 if you want to show courses that allow the registration of Q-cards| all parameters are free to be used or to be omitted except for auth if none of the parameters teetimesyn, lessonsyn, competitionsyn, handicapsyn is set to 1 an empty list will be returned if type=1 and no relnr or centercrsnr is provided a random course will be used as the center (i.e. first in the list) example: https://backend.ikgagolfen.nl/igg/courses?auth=&rows=2&teetimesyn=1 result: { "courses": [ { "crsnr": 26, "crsshortname": "Almkreek", "crsname": "Golfpark Almkreek", "crsaddress1": "Hoekje 7b", "crsaddress2": "4286 LN Almkerk", "crsphone": "0183-403592", "crsemail": "info@golfpark-almkreek.com", "crsx": 120, "crsy": 162, "crsteetimesyn": 1, "crslessonsyn": 1, "crshandicapsyn": 0, "crscompetitionsyn": 0 }, { "crsnr": 55, "crsshortname": "amelisweerd", "crsname": "Golfbaan Amelisweerd", "crsaddress1": "Mereveldseweg 7", "crsaddress2": "3585 LH Utrecht", "crsphone": "030-2546648", "crsemail": "info@amelisweerd.nl", "crsx": 147, "crsy": 122, "crsteetimesyn": 1, "crslessonsyn": 0, "crshandicapsyn": 0, "crscompetitionsyn": 0 } ] } crsx and crsy represent the location on the map. crsteetimesyn, crslessonsyn, crshandicapsyn and crscompetitionsyn indicate whether the course allows these bookings or allows the registration of qualifying cards (to improve the handicap). if a wrong authorisation code is provided, the list of courses in the resultset will contain 0 records.