From 8441c170c11da5c6cd940dfb3fe27e6b4592d089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20G=C3=BCmpelein?= Date: Fri, 15 Jul 2022 12:39:25 +0000 Subject: [PATCH] Update 3.6. pri request=user_bikes_occupied --- 3.6.-pri-request=user_bikes_occupied.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/3.6.-pri-request=user_bikes_occupied.md b/3.6.-pri-request=user_bikes_occupied.md index f4d6958..7d46a8d 100644 --- a/3.6.-pri-request=user_bikes_occupied.md +++ b/3.6.-pri-request=user_bikes_occupied.md @@ -19,7 +19,6 @@ | start_time | + | date time | ISO 8601 booking-start timestam | | end_time | + | date time | ISO 8601 booking-end or now timestamp | | bike_group | + | array | bike_group | -| tariff_description | o | object | Tariff description | | real_hours | + | text | on request real rental-hours | | computed_hours | + | text | on request tariff-computed rental-hours | | total_price | + | text | on request tariff-computed total rental-price | @@ -33,6 +32,8 @@ | service_state | o | text | service state for maintanance | | bike_charge | o | text | bike akku capacity | | geo_distance | + | text | geofencing meters between users GPS and next station GPS. geo_distance must be <= geo_radius defined by stations | +| rental_description | o | object | Tarif description | +| bike_type | o | object | describes bike by attributes | Example **REST request=user_bikes_occupied** for authorized users @@ -54,6 +55,13 @@ https://shareeapp-primary.copri-bike.de/APIjsonserver?request=user_bikes_occupie "longitude" : "7.825490", "latitude" : "47.976634" }, + "bike_type" : { + "category" : "cargo", + "wheels" : "2", + "engine" : { + "manufacturer" : "dummy" + } + }, "rental_description" : { "tarif_elements" : { "4" : [