1

Hardware with core/get_hw_types

Тема: Hardware with core/get_hw_types

Hi, I need the names of the hardwar, to get them I execute core / search_items which gives me the devicce hardware id. (The one that is hw: number.)
I run core / get_hw_types to get the hardware, but it gives me a list of all the hardware that have stored wialon.
How can I get only the hardware that interests me?

2

Hardware with core/get_hw_types

Re: Hardware with core/get_hw_types

Gab пишет:

Hi, I need the names of the hardwar, to get them I execute core / search_items which gives me the devicce hardware id. (The one that is hw: number.)
I run core / get_hw_types to get the hardware, but it gives me a list of all the hardware that have stored wialon.
How can I get only the hardware that interests me?

Good afternoon!

There is only one way to get HW names of units:

1) Make request to get the list with hardware ids and names by request get_hw_types

2) Search units info with request search_items and compare hardware ids with ids and names from previous request.

Also, it is possible to make this two requests by one with request core/batch

3

Hardware with core/get_hw_types

Re: Hardware with core/get_hw_types

Thank you very much Muev for the guidance.