docs
This commit is contained in:
36
docs/pages/api/talas_v5_DB/poiTyp/readPoiTyp.md
Normal file
36
docs/pages/api/talas_v5_DB/poiTyp/readPoiTyp.md
Normal file
@@ -0,0 +1,36 @@
|
||||
<!-- /docs/pages/api/talas_v5_DB/poiTyp/readPoiTyp.md -->
|
||||
|
||||
# 🗂️ readPoiTyp.js
|
||||
|
||||
Liefert alle verfügbaren POI-Typen aus der Tabelle `poityp`.
|
||||
|
||||
## Methode
|
||||
|
||||
- `GET`
|
||||
|
||||
## Rückgabe
|
||||
|
||||
- JSON-Array mit allen Einträgen in `poityp`
|
||||
|
||||
## Besonderheiten
|
||||
|
||||
- Gibt bei leerem Ergebnis `200` mit Warnung zurück
|
||||
- Verwendet Singleton-Verbindungspool (`getPool()`)
|
||||
|
||||
## Beispiel
|
||||
|
||||
```http
|
||||
GET /api/talas_v5_DB/poiTyp/readPoiTyp
|
||||
```
|
||||
|
||||
## Antwort
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
"idPoiTyp": 1,
|
||||
"name": "Messgerät",
|
||||
"icon": 12
|
||||
}
|
||||
]
|
||||
```
|
||||
Reference in New Issue
Block a user