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

View file

@ -19,7 +19,6 @@
| start_time | + | date time | ISO 8601 booking-start timestam | | start_time | + | date time | ISO 8601 booking-start timestam |
| end_time | + | date time | ISO 8601 booking-end or now timestamp | | end_time | + | date time | ISO 8601 booking-end or now timestamp |
| bike_group | + | array | bike_group | | bike_group | + | array | bike_group |
| tariff_description | o | object | Tariff description |
| real_hours | + | text | on request real rental-hours | | real_hours | + | text | on request real rental-hours |
| computed_hours | + | text | on request tariff-computed rental-hours | | computed_hours | + | text | on request tariff-computed rental-hours |
| total_price | + | text | on request tariff-computed total rental-price | | total_price | + | text | on request tariff-computed total rental-price |
@ -33,6 +32,8 @@
| service_state | o | text | service state for maintanance | | service_state | o | text | service state for maintanance |
| bike_charge | o | text | bike akku capacity | | 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 | | 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 Example
**REST request=user_bikes_occupied** for authorized users **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", "longitude" : "7.825490",
"latitude" : "47.976634" "latitude" : "47.976634"
}, },
"bike_type" : {
"category" : "cargo",
"wheels" : "2",
"engine" : {
"manufacturer" : "dummy"
}
},
"rental_description" : { "rental_description" : {
"tarif_elements" : { "tarif_elements" : {
"4" : [ "4" : [