This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
getflight [2013/05/23 15:58] richard |
getflight [2014/05/21 10:48] (current) |
||
|---|---|---|---|
| Line 10: | Line 10: | ||
| |starttime |time the flightreservation is made for in minutes since midnight (600 = 10 o'clock, 720 is noon) | | |starttime |time the flightreservation is made for in minutes since midnight (600 = 10 o'clock, 720 is noon) | | ||
| - | At least one of the parameters fltnr, relnr, relnrlocal, startdate, strttime is needs to be provided, otherwise the return code 449 - Retry with valid parameters is returned. | + | At least one of the parameters fltnr, relnr, relnrlocal, startdate, strttime needs to be provided, otherwise the return code 449 - Retry with valid parameters is returned. |
| - | If the parameters fltnr and/or startdate are nort provided, the resultset will always be limited to startdates >= today | + | If the parameters fltnr and/or startdate are not provided, the resultset will always be limited to startdates >= today |
| If the parameter fltnr is provided all other selection parameters are ignored. | If the parameter fltnr is provided all other selection parameters are ignored. | ||
| Line 46: | Line 46: | ||
| "carnr": 0, | "carnr": 0, | ||
| "carname": null, | "carname": null, | ||
| + | "locked_by": 205, | ||
| "players": [ | "players": [ | ||
| { | { | ||
| Line 165: | Line 166: | ||
| |carnr |internal id of reason if the booking was canceled| | |carnr |internal id of reason if the booking was canceled| | ||
| |carname |description of cancelreason| | |carname |description of cancelreason| | ||
| + | |locked_by |id of the computer that holds the flight in a lock| | ||
| Players (if the parameter fltnr was provided, these subrecords may also include players that have canceled (carnr>0): | Players (if the parameter fltnr was provided, these subrecords may also include players that have canceled (carnr>0): | ||