From e03880d28f1b309ee2fb3ec53cb4df009a0a43b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20G=C3=BCmpelein?= Date: Thu, 29 Dec 2022 09:28:22 +0000 Subject: [PATCH] Update 4.2. op request=booking_update --- 4.2.-op-request=booking_update.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4.2.-op-request=booking_update.md b/4.2.-op-request=booking_update.md index 7a432a1..56c69a2 100644 --- a/4.2.-op-request=booking_update.md +++ b/4.2.-op-request=booking_update.md @@ -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.