Skip to content

Commit

Permalink
Merge pull request #170 from slovensko-digital/AF-32/Autoform-API-docs
Browse files Browse the repository at this point in the history
AF-32/Autoform-API-docs
  • Loading branch information
tomasdrga authored Apr 4, 2024
2 parents c4ef6b2 + 3bcd840 commit c1d2637
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion app/views/services/autoform/integration_manual.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,188 +48,225 @@
<thead>
<tr>
<th>Hodnota atribútu</th>
<th>Typ</th>
<th>Význam</th>
<th>Ukážka hodnoty</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>id</code></td>
<td><code>integer</code></td>
<td>Unikátny identifikátor záznamu</td>
<td><code>1532254</code></td>
</tr>
<tr>
<td><code>name</code></td>
<td><code>string</code></td>
<td>Názov subjektu</td>
<td><code>"Websupport, s.r.o."</code></td>
</tr>
<tr>
<td><code>cin</code></td>
<td><code>string</code></td>
<td>IČO</td>
<td><code>"36 421 928"</code></td>
</tr>
<tr>
<td><code>formatted-address</code></td>
<td><code>string</code></td>
<td>Naformátovaná adresa</td>
<td><code>"Staré Grunty 12, 841 04 Bratislava"</code></td>
</tr>
<tr>
<td><code>street</code></td>
<td><code>string</code></td>
<td>Ulica</td>
<td><code>"Staré Grunty"</code></td>
</tr>
<tr>
<td><code>building-number</code></td>
<td><code>string</code></td>
<td>Orientačné číslo</td>
<td><code>"12"</code></td>
</tr>
<tr>
<td><code>reg-number</code></td>
<td><code>integer</code></td>
<td>Súpisné číslo</td>
<td><code>null</code></td>
</tr>
<tr>
<td><code>street-number</code></td>
<td><code>string</code></td>
<td>Číslo domu</td>
<td><code>"12"</code></td>
</tr>
<tr>
<td><code>formatted-street</code></td>
<td><code>string</code></td>
<td>Ulica a číslo</td>
<td><code>"Staré Grunty 12"</code></td>
</tr>
<tr>
<td><code>postal-code</code></td>
<td><code>string</code></td>
<td>PSČ</td>
<td><code>"841 04"</code></td>
</tr>
<tr>
<td><code>municipality</code></td>
<td><code>string</code></td>
<td>Obec</td>
<td><code>"Bratislava"</code></td>
</tr>
<tr>
<td><code>country</code></td>
<td><code>string</code></td>
<td>Krajina</td>
<td><code>"Slovenská republika"</code></td>
</tr>
<tr>
<td><code>tin</code></td>
<td><code>integer</code></td>
<td>DIČ</td>
<td><code>2021869234</code></td>
</tr>
<tr>
<td><code>vatin</code></td>
<td><code>string</code></td>
<td>IČ-DPH</td>
<td><code>"SK2021869234"</code></td>
</tr>
<tr>
<td><code>vatin-paragraph</code></td>
<td><code>string</code></td>
<td>DPH podľa paragrafu</td>
<td><code>"§4"</code></td>
</tr>
<tr>
<td><code>registration-office</code></td>
<td><code>string</code></td>
<td>Registrátor</td>
<td><code>"Okresný súd Bratislava I"</code></td>
</tr>
<tr>
<td><code>registration-number</code></td>
<td><code>string</code></td>
<td>Registračné číslo</td>
<td><code>"Sro/63270/B"</code></td>
</tr>
<tr>
<td><code>legal-form</code></td>
<td><code>string</code></td>
<td>Právna forma</td>
<td><code>"Združenie (zväz, spolok, spoločnosť, klub ai.)"</code></td>
</tr>
<tr>
<td><code>established-on</code></td>
<td><code>string</code></td>
<td>Dátum vzniku</td>
<td><code>"2004-08-12"</code></td>
</tr>
<tr>
<td><code>terminated-on</code></td>
<td><code>string</code></td>
<td>Dátum zániku</td>
<td><code>null</code></td>
</tr>
<tr>
<td><code>main-economic-activity.code</code></td>
<td><code>string</code></td>
<td>Kód hlavných ekonomických činností</td>
<td><code>"63110"</code></td>
</tr>
<tr>
<td><code>main-economic-activity.name</code></td>
<td><code>string</code></td>
<td>Názov klasifikácie hlavných ekonomických činností</td>
<td><code>"Spracovanie dát, poskytovanie serverového priestoru na internete a súvisiace služby"</code></td>
</tr>
<tr>
<td><code>statutory.type</code></td>
<td><code>string</code></td>
<td>Typ štatutárneho orgánu</td>
<td><code>"Konateľ"</code></td>
</tr>
<tr>
<td><code>statutory.first_name</code></td>
<td><code>string</code></td>
<td>Meno štatutárneho orgánu</td>
<td><code>"Sara Maria"</code></td>
</tr>
<tr>
<td><code>statutory.last_name</code></td>
<td><code>string</code></td>
<td>Priezvisko štatutárneho orgánu</td>
<td><code>"Laurell"</code></td>
</tr>
<tr>
<td><code>statutory.prefixes</code></td>
<td><code>string</code></td>
<td>Tituly pred menom štatutárneho orgánu</td>
<td><code>""</code></td>
</tr>
<tr>
<td><code>statutory.postfixes</code></td>
<td><code>string</code></td>
<td>Tituly za menom štatutárneho orgánu</td>
<td><code>""</code></td>
</tr>
<tr>
<td><code>statutory.formatted_name</code></td>
<td><code>string</code></td>
<td>Plné formátované meno štatutárneho orgánu</td>
<td><code>"Sara Maria Laurell"</code></td>
</tr>
<tr>
<td><code>statutory.street</code></td>
<td><code>string</code></td>
<td>Ulica bydliska štatutárneho orgánu</td>
<td><code>"Karlavägen"</code></td>
</tr>
<tr>
<td><code>statutory.reg_number</code></td>
<td><code>integer</code></td>
<td>Súpisné číslo bydliska štatutárneho orgánu</td>
<td><code>null</code></td>
</tr>
<tr>
<td><code>statutory.building_number</code></td>
<td><code>string</code></td>
<td>Orientačné číslo bydliska štatutárneho orgánu</td>
<td><code>68</code></td>
<td><code>"68"</code></td>
</tr>
<tr>
<td><code>statutory.postal_code</code></td>
<td><code>string</code></td>
<td>Poštové smerové číslo bydliska štatutárneho orgánu</td>
<td><code>"114 59"</code></td>
</tr>
<tr>
<td><code>statutory.municipality</code></td>
<td><code>string</code></td>
<td>Obec bydliska štatutárneho orgánu</td>
<td><code>"Štokholm"</code></td>
</tr>
<tr>
<td><code>statutory.country</code></td>
<td><code>string</code></td>
<td>Krajina bydliska štatutárneho orgánu</td>
<td><code>"Švédske kráľovstvo"</code></td>
</tr>
<tr>
<td><code>datahub_corporate_body.id</code></td>
<td><code>integer</code></td>
<td>Unikátny identifikátor záznamu</td>
<td><code>1532254</code></td>
</tr>
<tr>
<td><code>datahub_corporate_body.url</code></td>
<td><code>string</code></td>
<td>Odkaz na záznam v Datahub API<br>(odkazy na ostatné registre s ďalšími údajmi)</td>
<td><code>"https://datahub.ekosystem.slovensko.digital/api/datahub/corporate_bodies/1532254"</code></td>
</tr>
Expand Down

0 comments on commit c1d2637

Please sign in to comment.