Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Beschreibung

Drittanbieter können über diesen Endpunkt die Bewertungdsaten eines Unternehmens abrufen. Es wird ein JSON-Objekt zurückgeliefert. Es enthält alle relevanten Bewertungsdaten, die z.B. verwendet werden können, um Infomrationen des Bewertungsprofils eines Unternehmens oder einzelne Daten daraus innerhalb des Kontextes eines Drittanbieters abzubilden.

Method:
Status
colourGreen
titleGET

Request-URL: /external/reviews/ShopAPIKey

Request-Headers:

Name

Value (Beschreibung)

apikey

API-Key des Drittanbieters (string; length: 64)

apisecret

API-Secret des Drittanbieters (string; length: 64)

URL-Parameters:

Name

Value (Beschreibung)

ShopAPIKey

SHOPVOTE API-Key des Unternehmens, für das Bewertungsdaten abgerufen werden sollen (string; length: 32)

Zusätzliche Informationen

[keine]

Macrosuite hidden content macro
data{"usersAndGroups":[{"value":"5ffe9d923b5e4701383744de","label":{"key":null,"ref":null,"props":{"user":{"type":"known","accountId":"5ffe9d923b5e4701383744de","accountType":"atlassian","email":"","publicName":"Dirk Stuwe","profilePicture":{"path":"/wiki/aa-avatar/5ffe9d923b5e4701383744de","width":48,"height":48,"isDefault":false},"displayName":"Dirk Stuwe","isExternalCollaborator":false,"_expandable":{"operations":"","personalSpace":""},"_links":{"self":"https://shopvote.atlassian.net/wiki/rest/api/user?accountId=5ffe9d923b5e4701383744de","base":"https://shopvote.atlassian.net/wiki","context":"/wiki"}}},"_owner":null},"type":"user"}]}
showSelectedtrue
editorValue{"editorValue":{"version":1,"type":"doc","content":[{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Interner Funktionsaufruf"}]},{"type":"codeBlock","attrs":{},"content":[{"type":"text","text":"// App.php\nfunction getExtReviews($ShopAPIKey) {}"}]},{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Caching aktiviert?"}]},{"type":"paragraph","content":[{"type":"text","text":"JA"}]},{"type":"paragraph","content":[]}]}}

Beispiel

Status
colourGreen
titleGET
https://api.shopvote.de/external/reviews/a15c98a444537d23be12c58d0d2342e1

Response (JSON)

Code Block
languagejson
{"ShopData":  
  { "ShopID":"17308" },
  "ShopRating":{
    "shopname":"www.meintierdiscount.de",
    "reviewGroup":"2",
    "reputationValue":"4.56",
    "reputationCount":"2594",
    "reputationSources":"3",
    "reputationSourcesList": [
        {"provider":"trustedshops.de",
        "value":"4.51",
        "counter":"2019",
        "url":"https:\/\/www.trustedshops.de\/bewertung\/info_XC07861..." },
        {"provider":"google.com",
        "value":"4.7",
        "counter":"233",
        "url":"https:\/\/www.google.com\/search?QuNLIotNBik-LlQhaQUlLh4x9a5e7e4270269aa1,1,,,"},
        {"provider":"shopvote.de",
        "value":"4.7",
        "counter":"342",
        "url":"https:\/\/www.shopvote.de\/bewertung_meintierdiscount_de_17308.html"}
      ]
    },
    "Reviews":[{
      "id":"1160623",
      "user":"ShopVoter-2914780",
      "bewertung":"positiv",
      "datum":"2021-07-09 13:34:28",
      "text":"Ich habe hier eine Hundeleine bestellt die hier deutlich g\u00fcnstiger...",
      "note":5
      }, {
      "id":"1160120",
      "user":"ShopVoter-2913855",
      "bewertung":"positiv",
      "datum":"2021-07-08 18:06:34",
      "text":"Schnelle Lieferung, gutes Preis- Leistungsverh\u00e4ltnis.",
      "note":5
      }]}