mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 15:46:26 +01:00
Update 3.1. sharee JSON defaults
This commit is contained in:
parent
f6b7718e56
commit
f5204c0945
1 changed files with 9 additions and 8 deletions
|
@ -28,7 +28,7 @@ keep in mind, integers will also be delivered as characters.
|
||||||
Example
|
Example
|
||||||
**request** authorization
|
**request** authorization
|
||||||
```
|
```
|
||||||
https://shareeapp-primary.example.tld/APIjsonserver?request=authorization&merchant_id=your-merchant-id&user_id=mail@example.tld&user_pw=example-pw&hw_id=unique-device-id
|
https://shareeapp-primary.example.tld/APIjsonserver?request=authorization&merchant_id=your-merchant-id&user_id=mail@example.tld&user_pw=example-pw&hw_id=unique-device-id&lang=DE
|
||||||
```
|
```
|
||||||
**response** on success
|
**response** on success
|
||||||
```
|
```
|
||||||
|
@ -44,8 +44,9 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=authorization&mercha
|
||||||
"impress_html" : "site/impress.html",
|
"impress_html" : "site/impress.html",
|
||||||
"privacy_html" : "site/privacy.html",
|
"privacy_html" : "site/privacy.html",
|
||||||
"agb_checked" : "1",
|
"agb_checked" : "1",
|
||||||
"copri_version" : "4.1.9.6",
|
"copri_version" : "4.1.10.2",
|
||||||
"user_id" : "ragu@gnu-systems.de",
|
"user_id" : "mail@example.tld",
|
||||||
|
"lang" : "DE",
|
||||||
"init_map" : {
|
"init_map" : {
|
||||||
"center" : {
|
"center" : {
|
||||||
"longitude" : "7.825490",
|
"longitude" : "7.825490",
|
||||||
|
@ -53,16 +54,16 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=authorization&mercha
|
||||||
},
|
},
|
||||||
"radius" : "2.9"
|
"radius" : "2.9"
|
||||||
},
|
},
|
||||||
"uri_primary" : "https://shareeapp-primary.copri.eu",
|
"uri_primary" : "https://shareeapp-primary.copri-bike.de",
|
||||||
"authcookie" : "1842966_9580e08d7a627f80ab12ff8f65f1f598_87fab741bb98",
|
"authcookie" : "1842966_9580e08d7a627f80ab12ff8f65f1f598_87fab741bb98",
|
||||||
"clearing_cache" : "0",
|
"clearing_cache" : "0",
|
||||||
"response" : "authorization",
|
"response" : "authorization",
|
||||||
"response_text" : "Herzlich willkommen im Fahrradmietsystem",
|
"response_text" : "Welcome to the bike rental system",
|
||||||
"response_state" : "OK, nothing todo",
|
"response_state" : "OK, nothing todo",
|
||||||
"last_used_operator" : {
|
"last_used_operator" : {
|
||||||
"operator_phone" : "+49 761 453xxxxx7",
|
"operator_phone" : "+49 761 453xxxxx7",
|
||||||
"operator_color" : "#009699",
|
"operator_color" : "#009699",
|
||||||
"operator_name" : "sharee.bike | TeilRad GmbH",
|
"operator_name" : "Your rental name",
|
||||||
"operator_email" : "hotline@example.tld",
|
"operator_email" : "hotline@example.tld",
|
||||||
"operator_hours" : "Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"
|
"operator_hours" : "Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr"
|
||||||
}
|
}
|
||||||
|
@ -77,14 +78,14 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=authorization&mercha
|
||||||
"authcookie" : "",
|
"authcookie" : "",
|
||||||
"clearing_cache" : "0",
|
"clearing_cache" : "0",
|
||||||
"agb_checked" : "0",
|
"agb_checked" : "0",
|
||||||
"response_text" : "Entschuldigung, die Anmeldung schlug fehl",
|
"response_text" : "Sorry, the login failed",
|
||||||
"copri_version" : "4.1.10.2",
|
"copri_version" : "4.1.10.2",
|
||||||
"user_id" : "",
|
"user_id" : "",
|
||||||
"agb_html" : "site/agb.html",
|
"agb_html" : "site/agb.html",
|
||||||
"response" : "authorization",
|
"response" : "authorization",
|
||||||
"user_group" : [],
|
"user_group" : [],
|
||||||
"impress_html" : "site/impress.html",
|
"impress_html" : "site/impress.html",
|
||||||
"response_state" : "Failure: cannot generate authcookie",
|
"response_state" : "Failure, login failed",
|
||||||
"uri_primary" : "https://shareeapp-primary.copri-bike.de",
|
"uri_primary" : "https://shareeapp-primary.copri-bike.de",
|
||||||
"tariff_info_html" : "site/tariff_info.html",
|
"tariff_info_html" : "site/tariff_info.html",
|
||||||
"lang" : "DE",
|
"lang" : "DE",
|
||||||
|
|
Loading…
Reference in a new issue