Trying to follow the "Using Assets Query Language (AQL) syntax" documentation but for a JSON body

I followed the Assets REST API guide documentation and get get a response when putting something like {“qlQuery”: “objectType = Office or Name LIKE test”} in the body, but I try and narrow the query down I get an error like this:

can’t seem to find any documentation on this.

Attribute names and values containing a space need to be surrounded by double quotes and since you are in a JSON string, these quotes need to be escaped using a backslash.

2 Likes

Appreciate it!