User Tools

Site Tools


bookteetime

Differences

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

Link to this comparison view

Next revision
Previous revision
bookteetime [2012/12/14 15:41]
richard created
bookteetime [2013/08/16 07:08] (current)
Line 16: Line 16:
 |relnr3 |the id of the 3rd golfer in the flight if players>​2. | |relnr3 |the id of the 3rd golfer in the flight if players>​2. |
 |relnr4 |the id of the 4th golfer in the flight if players>​3. | |relnr4 |the id of the 4th golfer in the flight if players>​3. |
-|(instead of relnr2 - relnr4 ​yo can also specify name2 - name4 although that is not the prefered way)||+|(instead of relnr2 - relnr4 ​you can also specify name2 - name4 although that is not the prefered way)||
 |name2 |name of the 2nd golfer if players>​1 and relnr2=0| |name2 |name of the 2nd golfer if players>​1 and relnr2=0|
 |name3 |name of the 3rd golfer if players>​2 and relnr3=0| |name3 |name of the 3rd golfer if players>​2 and relnr3=0|
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.1355499712.txt.gz · Last modified: 2012/12/14 15:41 by richard