mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 07:36:26 +01:00
Update 5.3. tool request=service_done
This commit is contained in:
parent
89722c1312
commit
9ecffdae3b
1 changed files with 9 additions and 1 deletions
|
@ -37,12 +37,20 @@ https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=F
|
|||
```
|
||||
**REST request** update bike for redistribution to another station
|
||||
```
|
||||
https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=station&work_val=FR_101&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||
https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=station&work_val=FR101&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||
```
|
||||
**REST request** update bike state to available OR maintanance OR defect
|
||||
```
|
||||
https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=state&work_val=maintanance&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||
```
|
||||
**REST request** update bike for bike_battery_charge
|
||||
```
|
||||
https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=bike_battery_charge&work_val=100&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||
```
|
||||
**REST request** update bike for smartlock_battery_charge
|
||||
```
|
||||
https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=smartlock_battery_charge&work_val=100&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||
```
|
||||
**response** returns last bike/station service-work values by JSON-Objects depending on *bike* OR *station* number
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue