How do I find out the landscape a model belongs to via API call ?
Release : 20.2
Component : Spectrum Core / SpectroSERVER
Spectrum knows which model belongs to which landscape based on the model_handle assigned.
So for example:
model_handle of 0x2030806 would belong to landscape 0x2000000
Or model_handle of 0x104568 would belong to landscape 0x100000
So using the API, you can get the model_handle attr for your device and know based on the value which landscape it belongs to. That is how we do it in OneClick.
Alternatively, you can obviously use OneClick to get this information as well.