string DS_MakeRequest (int $InstanceID, string $Request, string $Data)
InstanceID | ID of the device to be switched |
Request | Request which should be called |
Data | Parameters for request |
JSON encoded string
Sends the request Request with the parameter Data to the device with the ID InstanceID.
Further information on the possible queries and the respective required parameters can be found under dSS Json .
// Request for system version
// Sends the "system/version" request to the instance with ID 12345
DS_MakeRequest(12345, "system/version", "");
// Recalls scene 0
// Sends the request "apartment/callScene" with the data "sceneNumber = 0" to the instance with the ID 12345
DS_MakeRequest(12345, "apartment/callScene", "sceneNumber=0");