This commit is contained in:
ISA
2025-05-28 08:04:34 +02:00
parent 97fbb6fdc1
commit 5f0133d638
107 changed files with 1446 additions and 454 deletions

View File

@@ -0,0 +1,22 @@
<!-- /docs/services/database/getDeviceIdByNameService.md -->
# 🆔 getDeviceIdByNameService.js
Service zur Ermittlung der Geräte-ID (`idLD`) anhand eines Gerätenamens.
## Verwendung
```js
const id = await getDeviceIdByNameService("CPL-V4");
```
## API-Route
```
/api/talas_v5_DB/locationDevice/getDeviceId?deviceName=...
```
## Rückgabe
- Erfolgreich: `idLD` (number)
- Fehler: Exception