From 9ecffdae3bdbea8ee0298ec130a81b1d46469236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20G=C3=BCmpelein?= Date: Sat, 31 Dec 2022 11:20:00 +0000 Subject: [PATCH] Update 5.3. tool request=service_done --- 5.3.-tool-request=service_done.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/5.3.-tool-request=service_done.md b/5.3.-tool-request=service_done.md index 42975fd..8fa8423 100644 --- a/5.3.-tool-request=service_done.md +++ b/5.3.-tool-request=service_done.md @@ -37,12 +37,20 @@ https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=F ``` **REST request** update bike for redistribution to another station ``` -https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=station&work_val=FR_101&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890 +https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=station&work_val=FR101&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890 ``` **REST request** update bike state to available OR maintanance OR defect ``` https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=state&work_val=maintanance&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890 ``` +**REST request** update bike for bike_battery_charge +``` +https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=bike_battery_charge&work_val=100&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890 +``` +**REST request** update bike for smartlock_battery_charge +``` +https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=smartlock_battery_charge&work_val=100&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890 +``` **response** returns last bike/station service-work values by JSON-Objects depending on *bike* OR *station* number ```