addParentToChild
AddParentToChild messages are sent when child products are added to a parent product.
less than a minute
Topic
MQTT: ia/<customerID>/<location>/<AssetID>/addParentToChild
For Kafka just switch the / character with a .
Usage
This message can be emitted to add a child product to a parent product. It can be sent multiple times, if a parent product is split up into multiple child’s or multiple parents are combined into one child. One example for this if multiple parts are assembled to a single product.
Content
| key | data type | description |
|---|---|---|
timestamp_ms | int64 | unix timestamp you want to go back from |
childAID | string | the AID of the child product |
parentAID | string | the AID of the parent product |
JSON
Examples
A parent is added to a child:
{
"timestamp_ms":1589788888888,
"childAID":"23948723489",
"parentAID":"4329875"
}
Producers
- Typically Node-RED
Consumers
Last modified February 17, 2023: update (#208) (ea731fc)