addParentToChild

AddParentToChild messages are sent when child products are added to a parent product.

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

keydata typedescription
timestamp_msint64unix timestamp you want to go back from
childAIDstringthe AID of the child product
parentAIDstringthe 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)