Create 4.7. request=user_feedback

This commit is contained in:
Rainer Gümpelein 2022-01-29 08:52:01 +00:00
parent faacc16bd7
commit 7c96861b9f

View file

@ -0,0 +1,26 @@
### 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