I am using the Service Desk JSON API to Query Users and cannot figure out how to pull back just certain fields. the Response is always giving me every Field. Also for Filtering, how do I find out which fields can be filtered on through the API?
Hi @wcopeland,
Unfortunately, there isn't a way that I know of to further limit which fields you get back from the object. There are two versions of the response, the "long" and "short" version, and the short version is already the default. I'd recommend just discarding the unused properties after you get the response back.
https://apidoc.samanage.com/#section/General-Concepts/Short-long-layout
For discovering filters, the easiest way I've found to do it is to create the filters in the web UI, and then look at the URL to discover the filters. Usually they're in the format `title[]=Some Value`.