Methode zum Abrufen aller nicht archivierten Alarmierungen
Methode zum Erstellen einer neuen Alarmierung
Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.
Unterschiede anzeigen Seitenhistorie anzeigen
« Vorherige Version anzeigen Version 2 Nächste Version anzeigen »
Methode zum Abrufen aller nicht archivierten Alarmierungen
URL: https://divera247.com/api/v2/alarms
Methode: GET
Benötigte Parameter:
Für den API Aufruf wird der Accesskey mit dem Paramter "accesskey=IHR-ACCESSKEY" angehangen.
Methode zum Erstellen einer neuen Alarmierung
URL: https://divera247.com/api/v2/alarms
Methode: POST
Benötigte Parameter:
Für den API Aufruf wird der Accesskey mit dem Paramter "accesskey=IHR-ACCESSKEY" angehangen
{ "Alarm": { "foreign_id": Einsatznummer, "alarmcode_id": ID einer Alarmvorlage (Optional), "priority": Sonderrechte (true/false), "title": Stichwort, "text": Meldung, "address": Adresse, "lat": Breitengrad, "lng": Längengrad, "report": Bericht, "private_mode": privater Modus, "notification_type": Benachrichtigungstyp, "notification_filter_vehicle": Alarmfilter - Fahrzeugbesatzung (true/false), "notification_filter_status": Alarmfilter - Status (true/false), "notification_filter_access": Alarmfilter - Dienstplan (true/false), "send_push": Pushbenachrichtigung senden (true/false), "send_sms": SMS senden (true/false), "send_call": TTS Anruf senden (true/false), "send_mail": Mail senden (true/false), "send_pager": Pager senden (true/false), "response_time": 0, "closed": Einsatz geschlossen? (true/false), "ts_close": Zeitstempel für geschlossen (UNIX Zeit), "ts_publish": Zeitstempel der Veröffentlichung (UNIX Zeit), "notification_filter_status_access": true, "uploads": Anhang als BASE64 String (Optional), "clusters": { "123": { "notification_type": 2 }, "456": { "notification_type": 3 }, "789": { "notification_type": 4 } }, "group": [ 1, 2, 3, 4 ], "user_cluster_relation": [ 1, 2, 3, 4 ], "vehicle": [ 1, 2, 3, 4 ], "status": [ 0 ] }, "instructions": { "cluster": { "mapping": "id" }, "group": { "mapping": "id" }, "user_cluster_relation": { "mapping": "id" }, "vehicle": { "mapping": "id" } } }
{ "Alarm": { "foreign_id": "2019-1023", "alarmcode_id": 123456789, "priority": true, "title": "FEUER3", "text": "Unklare Rauchentwicklung im Hafen", "address": "Hauptstraße 247, 12345 Musterstadt", "lat": 0, "lng": 0, "report": "2 Einsatztabschnitte gebildet, 3 C-Rohre im Einsatz", "private_mode": true, "notification_type": 0, "notification_filter_vehicle": true, "notification_filter_status": true, "notification_filter_access": true, "send_push": true, "send_sms": true, "send_call": true, "send_mail": true, "send_pager": true, "response_time": 0, "closed": true, "ts_close": 0, "ts_publish": 0, "notification_filter_status_access": true, "long": 0, "type": "string", "uploads": "Binary", "clusters": { "123": { "notification_type": 2 }, "456": { "notification_type": 3 }, "789": { "notification_type": 4 } }, "group": [ 1, 2, 3, 4 ], "user_cluster_relation": [ 1, 2, 3, 4 ], "vehicle": [ 1, 2, 3, 4 ], "status": [ 0 ] }, "instructions": { "cluster": { "mapping": "id" }, "group": { "mapping": "id" }, "user_cluster_relation": { "mapping": "id" }, "vehicle": { "mapping": "id" } } }