-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alarmabfrage mittels API #21
Comments
Habs selbst gelöst, entgegen der Aussage seitens Support braucht man doch einen dedizierten API User. Also nix mit Dashboarduser und API Aufrufen... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hallo,
ich möchte eine Liste der letzten Alarme mittels API abfragen. Dazu folgender HTTP Post Aufruf:
URL: https://api.blaulichtsms.net/blaulicht/api/alarm/v1/list
Body: {
"username" : "user",
"password" : "xxxxx",
"customerIds" : ["unsereID"]
}
Die HTTP Response ist vom Status 200 - also OK.
Ergebnis: Status 200
Im Body der Antwort steht dann
{
"result": "UNKNOWN_USER",
"description": "unknown username",
"alarms": []
}
Ich hab den Aufruf über Python Code und über Postman versucht. Beide male mit dem selben Ergebnis. Laut Support sollte das mit einem Dashboarduser funktionieren.
Die Dashboardanmeldung funktioniert mit diesem User aber.
Woran kann das liegen?
Ich wäre für einen Hinweis dankbar.
Danke
The text was updated successfully, but these errors were encountered: