bOS RPC SetValue commands

bOS RPC commands:

To call an RPC Service an HTTP POST call must be performed with data content-type = "application/json";

POST data example (Send data to another controller):

https://RPC_username:RPC_password@server_ip_address/API/RPC/SetValue

POST data example (Turn ON a light): 

{
    "objectName": "Devices\\KNX\\Light 1",
    "valueName": "Value",
    "value": "true"
}


POST data example  (Turning ON two lights):

{
    "parameters": [
        {
            "objectName": "Devices\\KNX\\Light 1",
            "valueName": "Value",
            "value": "true"
        },
        {
            "objectName": "Devices\\KNX\\Light 2",
            "valueName": "Value",
            "value": "true"
        }
    ]
}

POST data example (Send alert to user):

{
"objectName": "Building\\General\\Users\\User",
"functionName": "SendAlert",
"value": ["'Hello'"]
}


POST data example (Change string value):

{
    "objectName": "Devices\\Keypad\\Basic\\String",
    "valueName": "Value",
    "Value": " 'Open' "
}

POST data example (Change Mode value to 1):

{
"objectName": "Devices\\Keypad\\Basic\\Mode",
"valueName": "Value",
"value": "{\"Mode\":1}"
}