com.apama.cumulocity
Event Operation


An operation to send to a device.

Examples:
 Create an operation, send Operation("","deviceId", "PENDING", {"c8y_Message":{"text":"Hello Cumulocity device"}}) to Operation.CHANNEL; 
You can update the status field. send Operation("12345","deviceId", "EXECUTING", {}}) to Operation.CHANNEL;

Constant summary
 stringCHANNEL := "CumulocityIoT"

Channel to send the events to.
 
Member summary
 stringid

Unique identifier for this Operation.
 stringsource

Identifier of the ManagedObject to send the operation to.
 stringstatus

Status of the operation : one of SUCCESSFUL, FAILED, EXECUTING or PENDING.
 dictionary<stringany>params

Any extra parameters available on the Operation.
 
Constant detail

CHANNEL

string CHANNEL := "CumulocityIoT"
Channel to send the events to.
Member detail

id

string id
Unique identifier for this Operation.

Supply as empty if creating a new Operation

params

dictionary<stringanyparams
Any extra parameters available on the Operation.

source

string source
Identifier of the ManagedObject to send the operation to.

status

string status
Status of the operation : one of SUCCESSFUL, FAILED, EXECUTING or PENDING.