====/igg/courseloops==== To retreive a list of golfcourses with their courseloops. A courseloop is typically a part of the golfcourse that contains 9 holes. In order to play a normal 18 holes round, you will play 2 courseloops. Usually hole 1 and 9 start and finish in the same area (hence the name “loop”). Golfcourses car vary the order in which the courseloops can be played to organise the rounds to be played and to optimize the usage of the course. 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| all parameters are free to be used or to be omitted except for auth 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/courseloops?auth=&rows=5 result: { "courseloops": [ { "crsnr": 54, "crsshortname": "texelse", "crsname": "Golfbaan De Texelse", "crsaddress1": "Roggeslootweg 3", "crsaddress2": "1795 JX De Cocksdorp", "crsphone": "0222-316539", "crsemail": "", "crsx": 128, "crsy": 33, "crspremiumyn": 0, "crlnr": 129, "crlname": "par 72", "crlduration": 120, "crlchooseholes": 1, "crlmaxplayers": 4, "crlshowassignedtimesonly": 0 }, { "crsnr": 53, "crsshortname": "wilnis", "crsname": "Golfpark Wilnis", "crsaddress1": "Bovendijk 16a", "crsaddress2": "3648 NP Wilnis", "crsphone": "297281143", "crsemail": "", "crsx": 115, "crsy": 123, "crspremiumyn": 0, "crlnr": 127, "crlname": "lus a", "crlduration": 130, "crlchooseholes": 1, "crlmaxplayers": 4, "crlshowassignedtimesonly": 0 }, { "crsnr": 53, "crsshortname": "wilnis", "crsname": "Golfpark Wilnis", "crsaddress1": "Bovendijk 16a", "crsaddress2": "3648 NP Wilnis", "crsphone": "297281143", "crsemail": "", "crsx": 115, "crsy": 123, "crspremiumyn": 0, "crlnr": 128, "crlname": "lus b", "crlduration": 130, "crlchooseholes": 1, "crlmaxplayers": 4, "crlshowassignedtimesonly": 0 } ] } crsx and crsy represent the location on the map. crspremiumyn can be ignored for now. if a wrong authorisation code is provided, the list of courses in the resultset will contain 0 records.