Execute Command on a deviceAsk AIpost https://api.edgeiq.io/api/v1/platform/devices/{id}/commands/{command_id}/executeExecute Command on a devicePath Paramsidstringrequiredcommand_idstringrequiredBody ParamsShell Command SenderTCP Command SenderHTTP Command SenderWorkflow Command Sendersender_typestringenumrequiredThe type of sender used to send the command.shell_senderAllowed:shell_sendersenderobjectAn object to specify additional parameters for a command sender type.Shell Sender objectnamestringrequiredThe name of the command.device_idstringThe id of the device to which this command will be sent. This may be omitted until the command is executed.save_command_outputbooleanIf true, the command output will be saved to the device's command history.truefalsetranslator_idstringThe id of the translator used to translate the command payload into the data format expected by the recipient device. This can be omitted if a translator is not needed to process and send the command.long_descriptionstringA long description of the command. This field is intended to be populated with instructions on how to send the command. These instructions can then be displayed to users of an application.optionsobjectA JSON object containing metadata needed to process and send the command. This field is not used by commands sent directly by Edge (but may optionally be used by REST Command forwarders and plugins).options objectpayloadstringA JSON object containing all of the data that will comprise the actual message sent to the recipient device. This payload is the input to the translator.Response 200OKUpdated 7 months ago