/sendCommand
				 by Marco Lettieri | Messaging method detail
					
					
					
Method description
 | 
| End point | 
/sendCommand | 
| Description | 
Sends a actuator command | 
| Request method | 
POST | 
| Bearer token | 
Required | 
Request
 | 
| RequestParam | 
None | 
| RequestBody | 
 Array
| Field name | 
Description | 
Type | 
 
| command_type | 
Command Type | 
Integer | 
 
| actuatorID | 
Actuator ID | 
Long | 
 
| nonce | 
Command Identifier (an user originated identifier for this command) | 
Long | 
 
| smartgate_serial | 
gateBee Serial | 
String | 
 
| data | 
Command Data | 
JSONObject | 
 
| >>relay_value | 
Relay Value Request (0 for OFF, 1 for ON or <number of millis> the actuator must be switched ON before going OFF automatically) | 
Integer | 
 
 
   | 
Response
 | 
| A JSONArray of the sent commands | 
| Example | 
 Array | 
 | 
 |