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
ce392ec677
commit
e03880d28f
1 changed files with 1 additions and 1 deletions
|
@ -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=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.
|
`state=available` end the bike rental, which makes the bike `state=available` again in the COPRI backend.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue