startOrder
StartOrder messages are sent whenever a new (already added) order is started.
less than a minute
Topic
MQTT: ia/<customerID>/<location>/<AssetID>/startOrder
For Kafka just switch the /
character with a .
Usage
A message is sent here everytime a new order is started.
Content
key | data type | description |
---|---|---|
order_id | string | name of the order |
timestamp_ms | int64 | unix timestamp of message creation |
- See also notes regarding adding products and orders in /addOrder
- When startOrder is executed multiple times for an order, the last used timestamp is used.
JSON
Example
The order “test_order” is started at the shown timestamp.
{
"order_id":"test_order",
"timestamp_ms":1589788888888
}
Producers
- Typically Node-RED
Consumers
Last modified February 17, 2023: update (#208) (ea731fc)