cancel
Showing results for 
Search instead for 
Did you mean: 

SZ API query for specific attributes

andy_young
New Contributor

I am trying to get some information using the API. The URI is

/wsg/api/public/v9_1/query/ap

If I POST

{ "filters": [ { "type": "DOMAIN", "value": "blah" } ], "attributes": [ "*" ] }

then it returns all information, but if I do

{ "filters": [ { "type": "DOMAIN", "value": "blah" } ], "attributes": [ "ip" ] }

then it returns nothing ("ip" is one of the items returned with "*").

I can see how the API command becomes an SQL command, but I can't work out the column names I need to put in the "attributes" array.

Any advice gratefully received

2 REPLIES 2