mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 07:36:26 +01:00
Update 5.4. tool request=service_work
This commit is contained in:
parent
15390275ca
commit
89722c1312
1 changed files with 35 additions and 9 deletions
|
@ -8,7 +8,9 @@
|
||||||
| bike | o /+ | text | bike prefix+number |
|
| bike | o /+ | text | bike prefix+number |
|
||||||
| station | o /+ | text | station prefix+number |
|
| station | o /+ | text | station prefix+number |
|
||||||
|
|
||||||
**response** bike OR station prefix+number with work-values by JSON-Objects
|
**response** bike OR station prefix+number with work-values by JSON-Objects.
|
||||||
|
JSON-objects are described by the internal-data-key.
|
||||||
|
To be able to process several "txt01" tasks, if there is more than one open task, a counter separated by a _ is added to the internal-data-key.
|
||||||
|
|
||||||
| Parameter | Required | Format | Comment |
|
| Parameter | Required | Format | Comment |
|
||||||
| -------------- | -------- | -------- | -------------------------------------- |
|
| -------------- | -------- | -------- | -------------------------------------- |
|
||||||
|
@ -26,7 +28,7 @@
|
||||||
Example
|
Example
|
||||||
**REST request** read last work values by bike or station prefix+number
|
**REST request** read last work values by bike or station prefix+number
|
||||||
```
|
```
|
||||||
https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=service_work&bike=FR_1541&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
https://shareeapp-operator.example.tld/APIjsonserver?request=service_work&bike=FR1541&authcookie=6103_f782a208d9399291ba8d086b5dcc2509_34567890
|
||||||
```
|
```
|
||||||
|
|
||||||
**response**
|
**response**
|
||||||
|
@ -40,19 +42,19 @@ https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=service_work&bike=FR_
|
||||||
"clearing_cache" : "0",
|
"clearing_cache" : "0",
|
||||||
"impress_html" : "site/impress.html",
|
"impress_html" : "site/impress.html",
|
||||||
"agb_checked" : "1",
|
"agb_checked" : "1",
|
||||||
"uri_primary" : "https://shareeapp-primary.copri-bike.de",
|
"uri_primary" : "https://shareeapp-primary.example.tld",
|
||||||
"response" : "service_work",
|
"response" : "service_work",
|
||||||
"copri_version" : "4.0.1.3",
|
"copri_version" : "4.0.1.3",
|
||||||
"lang" : "DE",
|
"lang" : "DE",
|
||||||
"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",
|
||||||
"privacy_html" : "site/privacy.html",
|
"privacy_html" : "site/privacy.html",
|
||||||
"authcookie" : "6103_f782a208d9399291ba8d086b5dcc2509_34567890",
|
"authcookie" : "6103_f782a208d9399291ba8d086b5dcc2509_34567890",
|
||||||
|
@ -60,7 +62,31 @@ https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=service_work&bike=FR_
|
||||||
"user_id" : "javaminister@example.tld",
|
"user_id" : "javaminister@example.tld",
|
||||||
"debuglevel" : "1",
|
"debuglevel" : "1",
|
||||||
"response_state" : "OK: nothing todo",
|
"response_state" : "OK: nothing todo",
|
||||||
"FR_1541" : {
|
"FR1541" : {
|
||||||
|
"txt01" : {
|
||||||
|
"time_over" : "0",
|
||||||
|
"work_val" : "Achtung, Fahrradschloss Ladung unter 22%",
|
||||||
|
"service_id" : "41509",
|
||||||
|
"interval" : "0",
|
||||||
|
"work_name" : "Aufgaben",
|
||||||
|
"service_type" : "0",
|
||||||
|
"mtime" : "2022-10-28 15:33:16.817532+02",
|
||||||
|
"owner" : "188",
|
||||||
|
"user_name" : "sys API",
|
||||||
|
"work_id" : "txt01"
|
||||||
|
},
|
||||||
|
"txt01_2" : {
|
||||||
|
"work_name" : "Aufgaben",
|
||||||
|
"interval" : "0",
|
||||||
|
"work_val" : "Schutzblech fixieren",
|
||||||
|
"time_over" : "0",
|
||||||
|
"service_id" : "41512",
|
||||||
|
"user_name" : "Christian Fischer",
|
||||||
|
"work_id" : "txt01",
|
||||||
|
"mtime" : "2022-11-28 20:14:42.912067+01",
|
||||||
|
"service_type" : "0",
|
||||||
|
"owner" : "21254"
|
||||||
|
},
|
||||||
"int09" : {
|
"int09" : {
|
||||||
"work_name" : "Reifenluftdruck",
|
"work_name" : "Reifenluftdruck",
|
||||||
"service_id" : "0",
|
"service_id" : "0",
|
||||||
|
|
Loading…
Reference in a new issue