sharee.bike-Wiki/4.3.-op-request=user_feedback.md

27 lines
1.2 KiB
Markdown
Raw Normal View History

2022-01-29 09:52:01 +01:00
### 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