diff --git a/4.1.-op-request=booking_request.md b/4.1.-op-request=booking_request.md index 2d0b979..ec61c62 100644 --- a/4.1.-op-request=booking_request.md +++ b/4.1.-op-request=booking_request.md @@ -68,16 +68,16 @@ https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=booking_request&bike= | ---------- | ----------- | -------- | ---------------------------- | | authcookie | + | text | unique encrypted key | | bike | + | text | bike prefix+number | -| state | + | text | on rental start state=occupied | -| lock_state | + | text | on rental start lock_state=unlocking (BLE unlocked) | -| station_state | o | text | on rental start station_lock=unlocking (BLE unlocked) | +| state | o | text | on rental start state=occupied | +| lock_state | o | text | on rental start lock_state=unlocking (BLE unlocked) | + **response** like **request=user_bikes_occupied** with "bikes_occupied" JSON-Objects Example **REST request=booking_request** from authorized users ``` -https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=booking_request&bike=1006&state=occupied&lock_state=unlocking&station_state=unlocking&authcookie=1b2771663e0b7eb3519ab0_12345678 +https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=booking_request&bike=1006&state=occupied&lock_state=unlocking&authcookie=1b2771663e0b7eb3519ab0_12345678 ``` **response** sharee JSON defaults + **response** multiple bikes_occupied objects ``` @@ -104,7 +104,6 @@ https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=booking_request&bike= "end_time" : "2021-10-28 20:08:15", "station" : "FR101", "lock_state" : "unlocking", - "station_state" : "unlocking", "description" : "Vauban-bike", "request_time" : "2021-10-28 20:03:29.231426+02", "start_time" : "2021-10-28 20:06:36.412847+02",