Move a measurementValue to a msg.payload using its measurementTypeID

Hi, I'm trying to move a measurementValue I'm getting from a HTTP request to a msg.payload using its measurementTypeID, take a look at the below screenshot for better understanding.

You could use JSONata in the change node or Javascript in a function node to find the object with measurementTypeId of value 8.

Amazing ! It's working !
Thanks a lot.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.