User Tools

Site Tools


bookteetime

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bookteetime [2012/12/14 15:42]
richard
bookteetime [2013/08/16 07:08] (current)
Line 27: Line 27:
 |fltnr |id of booking to be changed (omit or set to 0 for new bookings)| |fltnr |id of booking to be changed (omit or set to 0 for new bookings)|
 |lng |1 english 2 dutch (default if parameter is omitted)| |lng |1 english 2 dutch (default if parameter is omitted)|
-|test |if 1 the booking will immediately be deleted (for testing in live database)|+|test |Obsolete| 
 +|testonly |if 1 the booking will immediately be deleted (for testing in live database)|
  
 If you want to change an existing booking the parameter fltnr needs to be provided. It is not possible to change the date, courseloops or teetime of an existing booking. IN that case you need to cancel the booking first and make a new booking immediately afterwards. Parameters you can change to an existing booking are: If you want to change an existing booking the parameter fltnr needs to be provided. It is not possible to change the date, courseloops or teetime of an existing booking. IN that case you need to cancel the booking first and make a new booking immediately afterwards. Parameters you can change to an existing booking are:
Line 45: Line 46:
 the parameter relnr is used to register who made the booking or who made the cange to an existing booking. Often it will be equal to relnr1, but it doesn’t have to be. However, it is good practise not to allow anyone else change a booking, so relnr will probably always be equal to relnr1, relnr2, relnr3 or relnr4. the parameter relnr is used to register who made the booking or who made the cange to an existing booking. Often it will be equal to relnr1, but it doesn’t have to be. However, it is good practise not to allow anyone else change a booking, so relnr will probably always be equal to relnr1, relnr2, relnr3 or relnr4.
  
-example: https://​backend.ikgagolfen.nl/​igg/​bookteetime?​auth=<​your authorisation code>​crsnr=1&​date=20121001&​teetime=600&​crlnr1=6&​crlnr2=22&​players=2&​relnr1=701160&​name2=Henk&​test=1+example: https://​backend.ikgagolfen.nl/​igg/​bookteetime?​auth=<​your authorisation code>​crsnr=1&​date=20121001&​teetime=600&​crlnr1=6&​crlnr2=22&​players=2&​relnr1=701160&​name2=Henk&​testonly=1
  
 result (if succesful): result (if succesful):
bookteetime.1355499739.txt.gz · Last modified: 2012/12/14 15:42 (external edit)