Das Control Center stellt der App folgende Schnittstelle zur Verfügung:
Authentifizierung
Siehe Authentifizierung.
Check
POST auf /api/Core/ControlCenter/Mobile/LicenceApp
/
Check
Input ist ein Parameter mit
{ "Licence": "<Lizenz>", "DeviceId": "<optional: Geräte-ID>", "DeviceInfo": "<optional: Geräte Info>" }
Antwort ist:
{ "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" } ] }
mit licenseStatus
New = 10, Inuse = 20, Revoked = 30, Invalid = 50
Free
POST auf api/Core/ControlCenter/Mobile/LicenceApp
/
Free
Input ist ein Parameter mit
{ "Licence": "<Lizenz>", "DeviceId": "<optional: Geräte-ID>", "DeviceInfo": "<optional: Geräte Info>" }
Antwort ist:
{ "LicenseStatus": "new" }
mit LicenseStatus
New = 10, Invalid = 50
Persistenz
Die App muss die verwendete Lizenz sowie den Sync-Interval auf dem lokalen Gerät speichern.