Update 3.6. pri request=user_bikes_occupied

This commit is contained in:
Rainer Gümpelein 2022-07-15 12:39:25 +00:00
parent b87e1d8047
commit 8441c170c1
1 changed files with 9 additions and 1 deletions

View File

@ -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" : [