IoT Export
Connection Template
Generic REST Server
9min
introduction the generic rest server export module provides a rest service via http and https using the generic iot data model docid\ kecs0ojeas7l0o5gxzaof this is a "single service" module, so only one export instance can be created configuration the module can be activated via the "iot export" area in the web configuration or the bsc remote and the "x api key" can be stored access the service is provided at the following url https //\<ip>/iot/export/generic/things api protection when activating the module, an "x api key" can be configured this is filled with a random string by default if an empty string is stored, access is not protected otherwise the key stored there must be sent with every request in the header field "x api key" endpoints the entry point is the /things end point there all devices are listed with detailed information the other endpoints are used to read out specific information from a device or to make a value change the new value is written as (raw) string directly (without json formatting) into the body of the request!