mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 07:36:26 +01:00
Update 4.2. op request=booking_update
This commit is contained in:
parent
ef1df359a8
commit
965ddcc40e
1 changed files with 2 additions and 2 deletions
|
@ -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" : {
|
||||
|
|
Loading…
Reference in a new issue