From 7203ceb119f04da8e0ebdaebe84e4bd6ea368ac9 Mon Sep 17 00:00:00 2001 From: michal-rohacek Date: Thu, 3 Dec 2020 13:05:01 +0100 Subject: [PATCH] Update release notes and response example according to API changes --- .../autoform/integration_manual.html.erb | 25 +++++++++++++++++++ app/views/static/release_notes.html.erb | 14 +++++++++++ 2 files changed, 39 insertions(+) diff --git a/app/views/services/autoform/integration_manual.html.erb b/app/views/services/autoform/integration_manual.html.erb index 5edc13ca..d06d122b 100644 --- a/app/views/services/autoform/integration_manual.html.erb +++ b/app/views/services/autoform/integration_manual.html.erb @@ -281,6 +281,31 @@ "registration_number": "VVS/1-900/90-48099", "updated_at": "2019-12-10T08:47:03.195891Z", "legal_form": "Združenie (zväz, spolok, spoločnosť, klub ai.)", + "main_economic_activity": null, + "statutory_bodies": [ + { + "type": "Iný štatutárny orgán", + "first_name": "Ľubor", + "last_name": "Illek", + "street": "Líščie údolie", + "reg_number": 3710, + "building_number": "33", + "postal_code": null, + "municipality": "Bratislava - mestská časť Karlova Ves", + "country": "Slovenská republika" + }, + { + "type": "Iný štatutárny orgán", + "first_name": "Gabriel", + "last_name": "Lachmann", + "street": "Belániková", + "reg_number": 3574, + "building_number": "6", + "postal_code": null, + "municipality": "Bratislava - mestská časť Karlova Ves", + "country": "Slovenská republika" + } + ], "statutory": [ { "type": "Iný štatutárny orgán", diff --git a/app/views/static/release_notes.html.erb b/app/views/static/release_notes.html.erb index 3ff18c3a..83363d76 100644 --- a/app/views/static/release_notes.html.erb +++ b/app/views/static/release_notes.html.erb @@ -1,6 +1,20 @@

Poznámky k zmenám funkcionality a štruktúry dát

+

Zmena k 3. 12. 2020

+

Autoform API

+

Pridaný objekt main_economic_activity

+
    +
  • Pridaný atribút code: integer
  • +
  • Pridaný atribút name: string
  • +
+

Pridaný objekt statutory_bodies

+
    +
  • Štruktúra a dáta zhodné s objektom + statutory, ktorý je deprecated a v blízkej budúcnosti bude odstránený. +
  • +
+

Zmena k 25. 10. 2020

Otvorené API

Zmenený endpoint api/data/rpo/organizations/:id