Skip to main content
Question

What is the "facet" value for searching the "Notes" field value?

  • November 15, 2024
  • 4 replies
  • 58 views

Forum|alt.badge.img+1

I have written a small program that does some things for me. I use this (for example) as a way to query an asset by its serial number:

 

{
  "Filters":[
    {"Facet": "AssetSerialNumber","Value": "value"}
  ]
}

 

That works great. But I now want to search using the Notes field. I’ve tried Facet being Notes and AssetNotes but neither work.

 

I’d like to know how to search based on the value in the Notes field. 

 

Also, it’d be nice to know if there is a find all AssetSerialNumbers starting (or ending) with a value. That’d be super helpful too but is not required.

4 replies

Kathryn Carter
Forum|alt.badge.img+18
  • Community Manager
  • November 15, 2024

@SPenland 4671c29 gilmer Thank you for submitting your question to our community! 😄

Could you provide a little more information? Is this via webhook or API?

@jclark ​@bclark ​@curtis.bohlmeyer ​@MattHenry Any thoughts here? 


Forum|alt.badge.img+16
  • Specialist
  • November 15, 2024

I’m not sure that there’s a way to filter by notes on an asset, but it’s been my experience that there needs to be an existing filter for it within the UI in order to do the same with the API.


Kathryn Carter
Forum|alt.badge.img+18
  • Community Manager
  • November 15, 2024

@jclark That is what I thought took. I will send this to my API masters on our tier 2 team to see what they can come up with as well. 


Kathryn Carter
Forum|alt.badge.img+18
  • Community Manager
  • November 15, 2024

I talked to our API guy and this is not something our documentation currently supports. Our team will look into this. ​@SPenland 4671c29 gilmer