mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 15:46:26 +01:00
Update 5.3. tool request=service_done
This commit is contained in:
parent
cb9d72141f
commit
15390275ca
1 changed files with 20 additions and 15 deletions
|
@ -29,15 +29,19 @@ Parameter | Required | Format | Comment |
|
||||||
Example
|
Example
|
||||||
**REST request** insert/update work_id with work_val
|
**REST request** insert/update work_id with work_val
|
||||||
```
|
```
|
||||||
https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=service_done&bike=FR_1541&work_id=int01&work_val=1&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=int01&work_val=1&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||||
|
```
|
||||||
|
**REST request** update "Aufgaben" by service_id
|
||||||
|
```
|
||||||
|
https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=txt01&work_val=%3A%3Aerledigt%3A%3A&service_id=41519&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||||
```
|
```
|
||||||
**REST request** update bike for redistribution to another station
|
**REST request** update bike for redistribution to another station
|
||||||
```
|
```
|
||||||
https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=service_done&bike=FR_1541&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=FR_101&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||||
```
|
```
|
||||||
**REST request** update bike state to available OR maintanance OR defect
|
**REST request** update bike state to available OR maintanance OR defect
|
||||||
```
|
```
|
||||||
https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=service_done&bike=FR_1541&work_id=state&work_val=maintanance&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
https://shareeapp-operator.example.tld/APIjsonserver?request=service_done&bike=FR1541&work_id=state&work_val=maintanance&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||||
```
|
```
|
||||||
**response** returns last bike/station service-work values by JSON-Objects depending on *bike* OR *station* number
|
**response** returns last bike/station service-work values by JSON-Objects depending on *bike* OR *station* number
|
||||||
|
|
||||||
|
@ -59,19 +63,19 @@ https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=service_done&bike=FR_
|
||||||
"tariff_info_html" : "site/tariff_info.html",
|
"tariff_info_html" : "site/tariff_info.html",
|
||||||
"impress_html" : "site/impress.html",
|
"impress_html" : "site/impress.html",
|
||||||
"user_group" : [
|
"user_group" : [
|
||||||
"FR_300001",
|
"FR300001",
|
||||||
"FR_300029"
|
"FR300029"
|
||||||
],
|
],
|
||||||
"user_tour" : [
|
"user_tour" : [
|
||||||
"FR_1",
|
"FR1",
|
||||||
"FR_2"
|
"FR2"
|
||||||
],
|
],
|
||||||
"uri_operator" : "https://shareeapp-fr01.copri-bike.de",
|
"uri_operator" : "https://shareeapp-operator.example.tld",
|
||||||
"service_template" : "401",
|
"service_template" : "401",
|
||||||
"response_state" : "OK, service_update",
|
"response_state" : "OK, service_update",
|
||||||
"clearing_cache" : "0",
|
"clearing_cache" : "0",
|
||||||
"uri_primary" : "https://shareeapp-primary.copri-bike.de",
|
"uri_primary" : "https://shareeapp-primary.example.tld",
|
||||||
"FR_1541" : {
|
"FR1541" : {
|
||||||
"int15" : {
|
"int15" : {
|
||||||
"owner" : "0",
|
"owner" : "0",
|
||||||
"mtime" : "",
|
"mtime" : "",
|
||||||
|
@ -229,15 +233,16 @@ https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=service_done&bike=FR_
|
||||||
"work_name" : "Achsschrauben"
|
"work_name" : "Achsschrauben"
|
||||||
},
|
},
|
||||||
"txt01" : {
|
"txt01" : {
|
||||||
"work_id" : "txt01",
|
|
||||||
"user_name" : "",
|
|
||||||
"work_name" : "Aufgaben",
|
"work_name" : "Aufgaben",
|
||||||
"interval" : "0",
|
"interval" : "0",
|
||||||
|
"work_val" : "Speiche locker\n",
|
||||||
"time_over" : "0",
|
"time_over" : "0",
|
||||||
"service_id" : "0",
|
"service_id" : "41514",
|
||||||
|
"user_name" : "copri admin",
|
||||||
|
"work_id" : "txt01",
|
||||||
|
"mtime" : "2022-11-29 10:40:46.186788+01",
|
||||||
"service_type" : "0",
|
"service_type" : "0",
|
||||||
"mtime" : "",
|
"owner" : "18520"
|
||||||
"owner" : "0"
|
|
||||||
},
|
},
|
||||||
"int12" : {
|
"int12" : {
|
||||||
"user_name" : "",
|
"user_name" : "",
|
||||||
|
|
Loading…
Reference in a new issue