slControl API

LogoutChangelog (26.08.2024)Legal notesBasic usageRequest EmulatorTroubleshooting
Global
Get list of accessible customersGet lookup tables for settingsGet lookup tables for devicesGet lookup tables for operationModeGet lookup tables for gatewaysGet lookup tables for jobsGet lookup tables for alerts
Customers
Get customer configurationUpdate customer configurationGet mesh network
Groups
Get group tree
Lamp switches
Get lamp switchesUpdate lamp switches
Luminaire points
Get luminaire pointsUpdate luminaire pointsCreate luminaire pointsDelete luminaire points
Devices
Get devicesGet device dataGet device stateUpdate device dataUpdate device operation stateGet operation modeUpdate operation modeDelete deviceDelete devices
Devices - Statistics/Logs
Get radar dataGet motion dataGet device energyGet environmental data
Gateways
Get gatewaysGet gateway dataCreate gatewaysDelete a gateway
Jobs
Get jobs state of a deviceGet job state by slcID
Alerts
Get alertsCreate alertsUpdate alerts

Update alerts

Currenty, you can only update the state of alerts.

API endpoint

alert

Request method

PUT

Request headers

-

Request URL parameters

-

Request content

EntityTypeNullableDescription
alert[]array (mainEntity)no

mainEntity

EntityTypeNullableDescription
idintnoslcID of alert
state_idint (alertState)noalert state

alertState

ValueDescription
1Noch nicht versendet
3Alarm versendet
4Bestätigt
5In Bearbeitung
6Behoben

Request content: example

{
	"alert": [
		{
			"id": 21,
			"state_id": 6
		}, {
			"id": 22,
			"state_id": 5
		}
	]
}

Response

Headers

204 No Content

Content

n.a.