Update 4.2. op request=booking_update

This commit is contained in:
Rainer Gümpelein 2022-06-03 15:35:18 +00:00
parent 8a6d3fcd36
commit 42d39e1513

View file

@ -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",