mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2025-01-03 12:56:27 +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
|
Example
|
||||||
**request** starts bike rental and unlock smartlock at once. lock_state=unlocked can also be done on second request.
|
**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
|
**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" : {
|
"rental_description" : {
|
||||||
"tarif_elements" : {
|
"tarif_elements" : {
|
||||||
|
"4" : [
|
||||||
|
"Max. Gebühr",
|
||||||
|
"10,00 € / Tag"
|
||||||
|
],
|
||||||
|
"6" : [
|
||||||
|
"Gratis Mietzeit",
|
||||||
|
"20 Min / Tag"
|
||||||
|
],
|
||||||
"1" : [
|
"1" : [
|
||||||
"Mietgebühr",
|
"Mietgebühr",
|
||||||
"3,00 € / 1 Std "
|
"1,50 € / 30 Min "
|
||||||
],
|
],
|
||||||
"2" : [
|
"7" : [
|
||||||
"Gratiszeit",
|
"Aktuelle Mietzeit",
|
||||||
"1 Std / Tag"
|
"7 Std 12 Min "
|
||||||
],
|
],
|
||||||
"4" : [
|
"8" : [
|
||||||
"Max. Gebühr",
|
"Aktuelle Mietkosten",
|
||||||
"20,00 € / Tag"
|
"9,00 €"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"id" : "5519",
|
"id" : "5519",
|
||||||
|
|
Loading…
Reference in a new issue