GET api/actions/outputstate/{userID}/{token}/{serviceID}/{outputNumber}/{outputState}
Set the output states on a device
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| userID | 
                         The ID returned from a successful login  | 
                    unsigned integer | 
                                 Required  | 
                
| token | 
                         The authentication token returned from a successful login  | 
                    string | 
                                 Required  | 
                
| serviceID | 
                         The service id of the vehicle being queried  | 
                    unsigned integer | 
                                 Required  | 
                
| outputNumber | 
                         The output number being set (0,1 or 2)  | 
                    integer | 
                                 Required  | 
                
| outputState | 
                         The state the output is being set to (true or false)  | 
                    boolean | 
                                 Required  | 
                
Body Parameters
None.
Response Information
Resource Description
Indicates if the save was successful
booleanResponse Formats
application/json, text/json
            Sample:
        true
application/xml, text/xml
            Sample:
<boolean>true</boolean>