I took a look at our V2 API. While Model Associations should be possible the way you show, it appears you've stumbled upon a bug there. Model Associations do work correctly when creating the Model using the ModelBridge. However, the associations will not be created during update. The update succeeds, but no source/target associations are created. I have filed a bug and made Product Management aware of the problem so that we can get it on our todo list.
As far as DataItem associations, it appears that no V2 mechanism exists to create DataItem Associations.
As always, feel free to file a Support Ticket for either of these issues. Or, feel free to reply here if there's any additional help we can give.
Hi James Bushey,
Thank you for your analysis and filing the bug.
So I will use the v1 API to associate the models.
Do you know how to use the V1 DataItemAssociation API in a current Axeda 6.8 instance?
It appears that I can't use this API because of the com.axeda.drm.services.device.DataItem class.
Thank you in advance.