mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-11-11 21:26:28 +01:00
26 lines
1.2 KiB
Markdown
26 lines
1.2 KiB
Markdown
### request=user_feedback
|
|
|
|
**request** PUSH user_feedback
|
|
|
|
| key | Required | Format | Comment |
|
|
| ---------- | -------- | -------- | ------------------------------------- |
|
|
| authcookie | + | text | unique encrypted key |
|
|
| bike | + | text | bike prefix_number |
|
|
| message | o | text | user feedback message |
|
|
| bike_broken | o | text | if "Rad i.O." selected, then "1" |
|
|
|
|
**response** "user_feedback" JSON-Object
|
|
| key | Required | Format | Comment |
|
|
| -------------- | -------- | -------- | -------------------------------------- |
|
|
| feedback_id | + | text | ID |
|
|
| bike | + | text | bike number |
|
|
| bike_broken | + | text | 0=bike_broken, 1=bike i.O. |
|
|
| message | + | text | free user feedabck text |
|
|
|
|
Example
|
|
**REST request=user_feedback**
|
|
```
|
|
https://shareeapp-fr01.copri-bike.de/APIjsonserver?request=user_feedback&bike=FR_1538&message=alles%20gut&bike_broken=1&authcookie=6103_ad720ed63bd40039e4abe8a9ad7315e1_23456789
|
|
```
|
|
|
|
**response** is just the **sharee JSON default** with user_feedback
|