docs
This commit is contained in:
22
docs/services/database/getDeviceIdByNameService.md
Normal file
22
docs/services/database/getDeviceIdByNameService.md
Normal 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
|
||||
Reference in New Issue
Block a user