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
8a6d3fcd36
commit
42d39e1513
1 changed files with 16 additions and 8 deletions
|
@ -32,7 +32,7 @@ The following lock states are implemented:
|
|||
Example
|
||||
**request** starts bike rental and unlock smartlock at once. lock_state=unlocked can also be done on second request.
|
||||
```
|
||||
https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=booking_update&bike=FR1540&state=occupied&lock_state=unlocked&authcookie=6103_7dc3c95028d06c9663378f6d44346de7_12345678
|
||||
https://sharee-zr01.example.tld/APIjsonserver?request=booking_update&bike=FR1540&state=occupied&lock_state=unlocked&authcookie=6103_7dc3c95028d06c9663378f6d44346de7_12345678
|
||||
```
|
||||
|
||||
**response** sharee JSON defaults + **response** rental states in `user_bikes_occupied` JSON-objects
|
||||
|
@ -63,17 +63,25 @@ https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=booking_update&bike=F
|
|||
},
|
||||
"rental_description" : {
|
||||
"tarif_elements" : {
|
||||
"4" : [
|
||||
"Max. Gebühr",
|
||||
"10,00 € / Tag"
|
||||
],
|
||||
"6" : [
|
||||
"Gratis Mietzeit",
|
||||
"20 Min / Tag"
|
||||
],
|
||||
"1" : [
|
||||
"Mietgebühr",
|
||||
"3,00 € / 1 Std "
|
||||
"1,50 € / 30 Min "
|
||||
],
|
||||
"2" : [
|
||||
"Gratiszeit",
|
||||
"1 Std / Tag"
|
||||
"7" : [
|
||||
"Aktuelle Mietzeit",
|
||||
"7 Std 12 Min "
|
||||
],
|
||||
"4" : [
|
||||
"Max. Gebühr",
|
||||
"20,00 € / Tag"
|
||||
"8" : [
|
||||
"Aktuelle Mietkosten",
|
||||
"9,00 €"
|
||||
]
|
||||
},
|
||||
"id" : "5519",
|
||||
|
|
Loading…
Reference in a new issue