Hello,
I’m trying to figure out whether its possible to query the FreshService API for a specific asset based on multiple fields. Apologies if this isn’t the correct place to ask this question!
In our environment some computers are often missing either their asset tag, name (aka display name) or hostname field. In a perfect world, all three fields would be identical for every asset, however as this isn’t the case, I need a way to query for an asset across all three fields.
Is it possible to query for an asset that matches on ANY of those fields. Similar to the way the FreshService search works in the UI of the inventory page?
According to the documentation here, the only fields supported on the search endpoint are;
- name
- asset_tag
- serial_number
Is there any other way of doing this search via the API in a single query?
Any help would be much appreciated.
Thanks,
M