Register an aspect for an existing digital twin

Once you want to enhance your digital twin with more knowledge, the best way is to add new aspects to the twin.

Let’s register a new aspect.

The Postman collection prepared to achieve the demo scenario is already prepared and ready-to-use.

  • Reuse the prepared environment file from the previous section.

  • Import and run all requests prepared in D2-register-aspect.json.

It holds various requests to add aspects to your twins:

You will add the vibration aspect to Car 2, AGV 1, Machine 1 and Machine 2.

add vibration model to some twins

Check your results

Now that you have learned about filtering for aspects, create a new request based on "Get by Movement Aspect" and changing the filter to

like(aspects.modelReference.urn,"urn:samm:com.bosch.nexeed.digitaltwin:1.0.0#Vibration")

Expected result: "itemCount": 4

get twins vibration