@@ -20,46 +20,45 @@ The dashboard needed to use this API can be created on the web platform (start.b
2020_ ** /api/alarm/v1/dashboard/login** _
2121
2222To log in you need to send an HTTP POST request with header` Content-Type: application/json ` to the above URL.
23- The login dataare the same as for[ https://dashboard.blaulichtsms.net ] ( https://dashboard.blaulichtsms.net/#/ ) .
23+ The login datais the same as for[ https://dashboard.blaulichtsms.net ] ( https://dashboard.blaulichtsms.net/#/ ) .
2424
2525{
2626 "username" : "myUser",
2727 "password" : "mySuperSecretPwd",
2828 "customerId" : "123456"
2929}
3030
31- Nach einem erfolgreichen Login erhält man die Session ID:
31+ After a successful login you receive a session ID:
3232
3333{
3434 "success" : true,
3535 "sessionId" : "lafjdfajdslfja89324u983u2894u89jlassdfj",
3636 "error" : null
3737}
3838
39- Die Session IDmuss ineinem Cookie / LocalStorage / SessionStorage gespeichertwerden und für die nächsten Requests verwendet werden .
39+ THis session IDmust be saved ina cookie / LocalStorage / SessionStorage gespeichertand will be used for all further requests .
4040
41- Im Fehlerfall erhält man folgende Antwort:
41+ In case of an error you receive the following reply
4242
4343{
4444 "success" : false,
4545 "sessionId" : null,
46- "error" : "MISSING_INPUT_DATA" //für Error codes, siehe unten
46+ "error" : "MISSING_INPUT_DATA" // error codes see below
4747}
4848
49- ####ErrorCodes
49+ ####Errorcodes
5050- MISSING_INPUT_DATA
5151- MISSING_PASSWORD
5252- MISSING_CUSTOMERID
5353- MISSING_USERNAME
5454- INVALID_CREDENTIALS
5555
56- Es wird immer nur eine paralelle Session unterstützt.
56+ Only one session at a time is possible.
5757
58- ###DasboardInformationen
58+ ###Dasboardinformation
5959_ ** /api/alarm/v1/dashboard/{{sessionId}}** _
6060
61- Um Dashboard Informationen zu erhalten muss man einen HTTP GET Request auf die oben angebene URL absenden.
62-
61+ In order to receive information from a dashboard you must send an HTTP GET request to the above URL.
6362
6463Wenn die Session abgelaufen ist, erhält man eine** HTTP 401 Unauthorized** Antwort.
6564