# QR-Code Generierung

#### Beschreibung

Diese Schnittstelle erzeugt einen QR-Code zu den angebenen Optionen.

#### Voraussetzungen/Einschränkungen

Diese API kann nur von unseren Kunden mit einem gültigen **Content- und Wartungsvertrag** verwendet werden.  
Der Zugriff ist nur von authorisierten Domains zugelassen.

#### Aufruf

<table border="1" id="bkmrk-api-name-loading-scr" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>**API Name**  
</td><td>qrcode</td></tr><tr><td>**API Type** </td><td>"svg" oder "png"</td></tr></tbody></table>

#### Eingabeparameter

<table border="1" id="bkmrk-parameter-format-pfl" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 26.4519%;"></col><col style="width: 16.0689%;"></col><col style="width: 8.043%;"></col><col style="width: 49.5578%;"></col></colgroup><tbody><tr><td>**Parameter**  
</td><td>**Format** </td><td>**Pflicht**  
</td><td>**Erläuterung**  
</td></tr><tr><td>url</td><td>String</td><td>Ja  
</td><td>Angabe der Ziel-URL</td></tr><tr><td>image</td><td>String</td><td>Nein</td><td>Pfad zu einer Bilddatei für den QR-Code (Logo in der Mitte)</td></tr><tr><td>label</td><td>String</td><td>Nein</td><td>Text unterhalb des QR-Codes</td></tr></tbody></table>

#### Ausgabeparameter

<table border="1" id="bkmrk-parameter-format-fal" style="border-collapse: collapse; width: 100%; height: 522.6px;"><colgroup><col style="width: 32.3857%;"></col><col style="width: 19.9011%;"></col><col style="width: 47.7132%;"></col></colgroup><tbody><tr style="height: 29.8px;"><td style="height: 29.8px;">**Parameter**  
</td><td style="height: 29.8px;">**Format** </td><td style="height: 29.8px;">**Erläuterung**  
</td></tr><tr style="height: 29.8px;"><td style="width: 101.4pt; padding: 0cm 5.4pt; height: 29.8px;" valign="top" width="135">base64

</td><td style="height: 29.8px;">Text</td><td style="width: 215.35pt; padding: 0cm 5.4pt; height: 29.8px;" valign="top" width="287">Base64-Daten des QR-Codes (Bilddatei)

</td></tr></tbody></table>

#### Beispiel-Aufruf

<p class="callout info">https://api.versicherungsmarkt.de/qrcode/svg</p>

#### Beispiel-Antwort

```json
{
  "success": true,
  "data": {
    "base64": "..."
  }
}
```