mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 07:36:26 +01:00
Update 4.1. op request=bikes_available
This commit is contained in:
parent
15b01708d2
commit
6b31238304
1 changed files with 4 additions and 4 deletions
|
@ -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" : {
|
Loading…
Reference in a new issue