Update 3.4. pri request=stations_available

This commit is contained in:
Rainer Gümpelein 2023-03-28 09:00:54 +00:00
parent bf90e41810
commit a125644484

View file

@ -25,10 +25,11 @@
**station_group** describes which **bike_groups** are allowed at the station. **station_group** describes which **bike_groups** are allowed at the station.
Groups are identified by ID. The following groups of bicycles are defined: Groups are identified by ID. The following groups of bicycles are defined:
| group ID | bike type | | groupID | bike type |
| ------ | ------ | | ------ | ------ |
| 300101 | Cargobike | | 300101 | Cargobike |
| 300103 | Citybike | | 300103 | Citybike |
Keep in mind, each ID is preceded by an operator-prefix.
Example Example
**REST request=stations_available** for authorized users **REST request=stations_available** for authorized users
@ -45,7 +46,7 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=stations_available&a
"WUE9301" : { "WUE9301" : {
"state" : "available", "state" : "available",
"uri_operator" : "https://shareeapp-wue.example.tld", "uri_operator" : "https://shareeapp-wue.example.tld",
"description" : "Rieselfeldemo", "description" : "Cargo and Citybike Station",
"operator_data" : { "operator_data" : {
"operator_hours" : "Montag, Mittwoch, Freitag 9-12 Uhr", "operator_hours" : "Montag, Mittwoch, Freitag 9-12 Uhr",
"operator_logo" : "", "operator_logo" : "",
@ -55,10 +56,9 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=stations_available&a
"operator_color" : "#009699" "operator_color" : "#009699"
}, },
"station" : "WUE9301", "station" : "WUE9301",
"authed" : "1",
"service_tour" : "WUE2",
"station_group" : [ "station_group" : [
"WUE300101" "WUE300101",
"WUE300103"
], ],
"gps" : { "gps" : {
"latitude" : "47.99814334149303", "latitude" : "47.99814334149303",