Update 4.2. op request=booking_update

This commit is contained in:
Rainer Gümpelein 2022-12-29 09:28:22 +00:00
parent ce392ec677
commit e03880d28f

View file

@ -6,7 +6,7 @@ The following booking states are implemented:
`state=canceled` booking request will be canceled. The bike is set to `state=available` in the COPRI backend.
`state=occupied` bike rental starts. `state=occupied` marks the start of the rental in copri. A multiple "occupied" will be acknowledged with an error, because a rental can only be started once. So that the rental start is recorded in any case in the backend, please set the `state=occupied` in the first request.
`state=occupied` bike rental starts. `state=occupied` marks the start of the rental in copri. A multiple "occupied" will be acknowledged with an error, because a rental can only be started once. So that the rental start is recorded in any case in the backend, please set the `state=occupied` in the request before the smartlock will be unlocked.
`state=available` end the bike rental, which makes the bike `state=available` again in the COPRI backend.