Das Control Center stellt der App folgende Schnittstelle zur Verfügung:
...
Code Block | ||
---|---|---|
| ||
{ "Username": "<Lizenz><Lizenzschlüssel>", "Password": "<Lizenz><Lizenzschlüssel>" } |
Antwort ist:
Code Block | ||
---|---|---|
| ||
{ "access_token": "...", "refresh_token": "...", "token_type": "Bearer", "username": "<Lizenz><Lizenzschlüssel>", } |
Gerät aktivieren
POST auf /api/Core/ControlCenter/Mobile/LicenceApp
/
Check
...
Code Block |
---|
{ "Licence": "<Lizenz><Lizenzschlüssel>", "DeviceId": "<optional: Geräte-ID>", "DeviceInfo": "<optional: Geräte Info>" } |
...
Code Block |
---|
{ "LicenseStatus": "Inuse", "TenantId": "d5c56c87-2ab2-4053-a0dd-7164049fd64f", "Backends": [ { "Id": "81d6444d-6e89-42f0-822e-6283b0578e76", "Url": "http://1.1.1.1:8088", "Name": "PROD", "SyncInterval": 10, "Color": "#00ffff" }, { "Id": "91538297-641d-4ee9-b5b6-5767be80890f", "Url": "http://1.1.1.1:8085", "Name": "TEST", "SyncInterval": 10, "Color": "#ff8000" } ], "Modules": [ { "Name": "ArticleInformation" }, { "Name": "Inventory", "ValidUntil": "2022-04-14T00:00:00.000000Z" } ] } |
mit licenseStatus
Code Block |
---|
New = 10, Inuse = 20, Revoked = 30, Invalid = 50 |
...
Code Block |
---|
{ "Licence": "<Lizenz><Lizenzschlüssel>", "DeviceId": "<optional: Geräte-ID>", "DeviceInfo": "<optional: Geräte Info>" } |
...
Code Block |
---|
{ "LicenseStatus": "new" } |
mit LicenseStatus
Code Block |
---|
New = 10, Invalid = 50 |
...