mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-11-10 12:46:33 +01:00
Create 3.2. request=authorization
This commit is contained in:
parent
f04670aef8
commit
f6b7718e56
1 changed files with 18 additions and 0 deletions
18
3.2.-request=authorization.md
Normal file
18
3.2.-request=authorization.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
### request=authorization
|
||||||
|
Rental bike user authentication.
|
||||||
|
|
||||||
|
| key | Required | Format | Comment |
|
||||||
|
| ----------- | -------- | -------- | ------------------------ |
|
||||||
|
| user_id | + | text | eMail address (Login) |
|
||||||
|
| user_pw | + | text | Password |
|
||||||
|
| hw_id | + | text>=16 | Unique-system-identifier |
|
||||||
|
| merchant_id | + | text>=8 | Your merchant ID |
|
||||||
|
| lang | o | text=2 | language iso code |
|
||||||
|
|
||||||
|
Example
|
||||||
|
**REST request=authorization**
|
||||||
|
```
|
||||||
|
https://shareeapp-primary.copri-bike.de/APIjsonserver?request=authorization&merchant_id=23456789&user_id=javaminister@gmail.com&user_pw=javaminister&hw_id=unique-device-id&lang=DE
|
||||||
|
```
|
||||||
|
|
||||||
|
**response** is just the **sharee JSON default**
|
Loading…
Reference in a new issue