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 |
string | CHANNEL := "CumulocityIoT"
Channel to send the events to. |
Member summary |
string | id
Unique identifier for this Operation. |
string | source
Identifier of the ManagedObject to send the operation to. |
string | status
Status of the operation : one of SUCCESSFUL, FAILED, EXECUTING or PENDING. |
dictionary<string, any> | params
Any extra parameters available on the Operation. |
CHANNEL
string CHANNEL := "CumulocityIoT"
Channel to send the events to.
id
string id
Unique identifier for this Operation.
Supply as empty if creating a new Operation
params
dictionary<string, any> params
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.