Update 4.1. op request=bikes_available

This commit is contained in:
Rainer Gümpelein 2023-11-22 18:23:06 +00:00
parent 15b01708d2
commit 6b31238304

View file

@ -53,15 +53,15 @@
Groups are identified by ID. The following groups of bicycles are defined:
| Defined group ID's | bike type |
| ------ | ------ |
| 300101 | Cargobike |
| 300103 | Citybike |
| 300101 | cargo |
| 300103 | city |
Keep in mind, each ID is preceded by an operator-prefix. Data type is array.
Example
**REST request=bikes_available** for authorized users
```
https://sharee-primary.example.tld/APIjsonserver?request=bikes_available&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_23456789
https://sharee-operator.example.tld/APIjsonserver?request=bikes_available&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_23456789
```
**response** sharee JSON defaults + **response** multiple bike objects
@ -125,7 +125,7 @@ https://sharee-primary.example.tld/APIjsonserver?request=bikes_available&authcoo
"WUE300029"
],
"Ilockit_ID" : "00000000-0000-0000-0000-fc3c002a2add",
"uri_operator" : "https://shareeapp-op.example.tld",
"uri_operator" : "https://shareeapp-operator.example.tld",
"system" : "Ilockit",
"smartlock_type" : {
"engine" : {