When doing an API query for multiple objects with more than one UDF field in the query builder, the execution result is below. This may be a limitation of Autotask, but I wanted to confirm.
An exception was encountered: Autotask returned an unexpected response to command [query]: {“queryResult”:{“ReturnCode”:-1,“EntityResults”:{},“EntityResultType”:“installedproduct”,“Errors”:{“ATWSError”:[{“Message”:“QueryXML contains more than 1 UDF Field.”}]},“EntityReturnInfoResults”:{}}}
That’s unfortunate. I wonder why. It might be a performance problem to query by more than one, but this is fairly limiting in getting the correct data out of AT assets that have many UDFs.