/igg/cancelteetime

Cancel an existing teetime reservation. Every golfcourse can set the maximum time/nr of days in advance separately.

parameters:

auth the authorisation code you received from Intogolf BV (mandatory)
crsnr the id of the course (mandatory)
relnr the id of the golfer that is currently logged in (mandatory)
relkey the hash key that was provided upon login (mandatory)
fltnr id of booking to be changed (mandatory)

example: https://backend.ikgagolfen.nl/igg/cancelteetime?auth=<your authorisation code>&crsnr=1&relnr=701160&fltnr=3058329

result (if succesful):

{
  "cancelteetime": [
    {
      "errorcode": 0,
      "errormsg": "booking canceled"
    }
  ]
}

Possible errorcodes are:

1 booking not found for this course
2 booking can only be canceled by the owner
3 too late to cancel this booking
4 canceling failed

if a wrong authorisation code is provided, the backend will return “no authorisation”