This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ikgagolfen_api [2012/12/14 15:00] richard |
ikgagolfen_api [2022/05/20 09:39] (current) marcel |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Ikgagolfen API ===== | + | ==== Ikgagolfen API ==== |
| - | De backend is available at https://backend.ikgagolfen.nl | + | The 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. | 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. | 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. | ||
| Line 13: | Line 13: | ||
| |[[teetimes]] |get available teetimes| | |[[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| | |[[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]] |Retrieve a list of all lessontypes that can be used to book a lesson at a specific course | | ||
| + | |[[pros]] |Retrieve a list of all golf professionals (tutors) for a specific course. | | ||
| + | |[[proagendas]] |Retrieve a list of all available slots for lessons for the golf professionals (tutors) of a specific course. | | ||
| + | |[[booklesson]] |Book a lesson | | ||
| + | |[[cancellesson]] |Cancel an existing lesson | | ||
| + | |[[getlesson]] |Retrieve the current data of an existing lesson | | ||
| + | |[[valuetable]] |Retreive a list of possible values for a value table | | ||
| + | |[[relationfreefielddefinition]] |Request a definition of all user defined free fields for registering Relations | | ||
| + | |[[membertypes]] |This interface provides a list of all available membertypes for registerign a new member | | ||
| + | |[[addrelation]] |Add a new relation or member to the intogolf database | | ||
| + | |[[getrelation]] |Retrieve data from existing relations | | ||
| + | |[[gethandicap]] |Retrieve the current handicap for a golfer | | ||
| + | |||
| + | |||
| + | |||
| + | |||