From f5204c0945d6574f72610a6ec423d986c02f1846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rainer=20G=C3=BCmpelein?= Date: Fri, 28 Jan 2022 11:34:44 +0000 Subject: [PATCH] Update 3.1. sharee JSON defaults --- 3.1.-sharee-JSON-defaults.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/3.1.-sharee-JSON-defaults.md b/3.1.-sharee-JSON-defaults.md index d9c664c..c9dae22 100644 --- a/3.1.-sharee-JSON-defaults.md +++ b/3.1.-sharee-JSON-defaults.md @@ -28,7 +28,7 @@ keep in mind, integers will also be delivered as characters. Example **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 ``` @@ -44,8 +44,9 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=authorization&mercha "impress_html" : "site/impress.html", "privacy_html" : "site/privacy.html", "agb_checked" : "1", - "copri_version" : "4.1.9.6", - "user_id" : "ragu@gnu-systems.de", + "copri_version" : "4.1.10.2", + "user_id" : "mail@example.tld", + "lang" : "DE", "init_map" : { "center" : { "longitude" : "7.825490", @@ -53,16 +54,16 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=authorization&mercha }, "radius" : "2.9" }, - "uri_primary" : "https://shareeapp-primary.copri.eu", + "uri_primary" : "https://shareeapp-primary.copri-bike.de", "authcookie" : "1842966_9580e08d7a627f80ab12ff8f65f1f598_87fab741bb98", "clearing_cache" : "0", "response" : "authorization", - "response_text" : "Herzlich willkommen im Fahrradmietsystem", + "response_text" : "Welcome to the bike rental system", "response_state" : "OK, nothing todo", "last_used_operator" : { "operator_phone" : "+49 761 453xxxxx7", "operator_color" : "#009699", - "operator_name" : "sharee.bike | TeilRad GmbH", + "operator_name" : "Your rental name", "operator_email" : "hotline@example.tld", "operator_hours" : "Bürozeiten: Montag, Mittwoch, Freitag 9-12 Uhr" } @@ -77,14 +78,14 @@ https://shareeapp-primary.example.tld/APIjsonserver?request=authorization&mercha "authcookie" : "", "clearing_cache" : "0", "agb_checked" : "0", - "response_text" : "Entschuldigung, die Anmeldung schlug fehl", + "response_text" : "Sorry, the login failed", "copri_version" : "4.1.10.2", "user_id" : "", "agb_html" : "site/agb.html", "response" : "authorization", "user_group" : [], "impress_html" : "site/impress.html", - "response_state" : "Failure: cannot generate authcookie", + "response_state" : "Failure, login failed", "uri_primary" : "https://shareeapp-primary.copri-bike.de", "tariff_info_html" : "site/tariff_info.html", "lang" : "DE",