C4 Web To Variables - Supported Responses

C4 Web To Variables - Supported Responses

Web To Variables only supports JSON Type Data: https://en.wikipedia.org/wiki/JSON  

Warning
XML is NOT Supported

An Example JSON response is below. Please note, that variable arrays ( between the "[" and "]" brackets) needs to provide consistent data between calls to simplify programming  
  1. {
       "code" : "303",
       "response" : "OK",
       "users" :
       [
          "Joe",
          "Andy"
      ]
    }

To identify if data is JSON, it can be validated using a JSON Validator such as: https://jsonformatter.curiousconcept.com/
    • Related Articles

    • C4 Web To Variables - Identifying Variables and their contents

      Variables must first be created by configuring the driver, and using the AutoSetup Variables Action To identify all available variables created during the AutoSetup Variables action and their contents, use our Control4 Variables Knowledge base ...
    • Control4: Identifying Available Variables and Current Values

      All Available Driver Variables for devices can be located in the Variables Agent. Please note: Some drivers such as Web To Variables will not display all available variables until configuration of the driver is complete 1. In Composer Pro, switch to ...
    • Control4 UniFi Protect / Access / Network: Receiving Custom Webhooks

      This guide describes how to trigger actions in control4 based on custom UniFi Webhooks. This can be used to perform actions based on advanced UniFi triggers which may not be handled directly. Procedure The Chowmain UniFi Drivers must be 20251215 or ...
    • CONTROL4 INTESIS: Which Models are supported?

      Browsing HMS Website The Control4 Intesis driver is compatible with gateway models that support the Home Automation protocol only. You can find a list of all compatible models via link here. Intesis Compatibility Tool You can use the Intesis HVAC ...
    • ELAN INTESIS: Which Models are supported?

      Browsing HMS Website The ELAN Intesis driver is compatible with gateway models that support the Home Automation protocol only. You can find a list of all compatible models via link here. Intesis Compatibility Tool You can use the Intesis HVAC ...