This is an old revision of the document!
De backend is available at https://backend.ikgagolfen.nl The interface can be accessed with normal use of the HTTP protocol and will return JSON formattted data. There is no session or any other storage of user related data available. This means that each request will always have to provide all parameters needed. Each authorized company will receive an authorisation code which should be dealt with care. The authorisation code will be passed with each request to enable the backend to verify the origin of the request.
/igg/ | |
---|---|
login | user login interface |
courses | obtain a list of available golfcourses |
courseloops | retrieve a list of golfcourses with their courseloops (golfcourse sections of 9 holes) |
coursestatus | retrieve a list of golfcourses with information about cosures and condition of the course |
teetimes | get available teetimes |
coplayers | In order to make a teetime reservation, the booker needs to provide the names of his co-players. Retrieve a lists of possible co-players |
invitationoptions | Instead of assigning a co-player, users can also book a teetime and invite other people to come join them. This API will give you a list of available options |
bookteetime | book a teetime |
cancelteetime | cancel a teetime |
getteetime | Retrieve the current data of an existing teetime reservation |
golferregistrations | Gives a list of all the golfcourses and clubs at which the user is known in their local database |
greenfeecards | Golfers can have bought cards to play multiple rounds of golf. This API gives a list of all registered cards and their balance |
points | Golfers can save discount points when they spend money on a golfcourse (like air miles) |
bookings | Retrieve a list of all bookings of a golfer. |
lessontypes |