Update 4.2. op request=booking_update

This commit is contained in:
Rainer Gümpelein 2022-01-29 09:59:27 +00:00
parent ef1df359a8
commit 965ddcc40e

View file

@ -26,7 +26,7 @@ The following lock states are implemented:
| Ilockit_GUID | o | text | example: 00000000-0000-0000-e57e6b9aee16 |
**response** returns also **request=user_bikes_occupied** with `bikes_occupied` JSON-Objects
**response** returns `bikes_occupied` JSON-Objects with booking states
Example
**request** starts bike rental and unlock smartlock at once. lock_state=unlocked can also be done on second request.
@ -34,7 +34,7 @@ Example
https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=booking_update&bike=FR1540&state=occupied&lock_state=unlocked&authcookie=6103_7dc3c95028d06c9663378f6d44346de7_12345678
```
**response** sharee JSON defaults + **response** rental state with `user_bikes_occupied` JSON-objects
**response** sharee JSON defaults + **response** rental states in `user_bikes_occupied` JSON-objects
```
{
"shareejson" : {