Publish Material Movements
Overview
Payload
[
{
assetId: number; //One of assetId or assetName must be defined
assetName: string;
timestamp: Date;
quantity: number | null;
unitOfMeasure: string;
materialMovementTypeKey: string; // find this in your Material Movement config in DO
inventoryKey: string;
orderId?: number;
orderNumber?: string;
orderOperation?: string;
keyAttributes?: {[key: string]: string};
attributes?: {[key: string]: string};
contains?: string[];
fromAssetId?: number;
fromAssetName?: string;
toAssetId?: number;
toAssetName?: string;
materialExternalId: string; // find this in your Materials config in DO
bestBeforeDate?: string | Date;
manufacturingDate?: string | Date;
}
]
Sending to the MQTT Broker
Last updated