Creates multiple Gateway Commands

Creates multiple Gateway Commands

Body Params
ids
array

The _ids of the Devices that will receive the command.

ids
string

The type of command.

string

The payload that is sent to the device. Not all commands require a payload.

schedule
object

GatewayCommandSchedules define when a GatewayCommand can be executed. Note that this currently applies only to software update type gateway commands.

integer

The number of seconds before the command will be aborted.

statuses
object

The status of the command execution. Each device associated with the command will have its own key in the status map.

string

The _id of the software update to use for the command. This value is only required when issuing a software_update command.

Responses

401

You are not authorized

404

The item you were looking for does not exist

500

An unexpected error was encountered.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json