read?filter=equip%20and%20site->geoCity%20==%20"XYZ"
This is the endpoint I am using to get the equipments with the site that is in city XYZ I always get this {
"_kind": "grid", "meta": { "ver": "3.0", "errType": "sys::ArgErr", "err": { "_kind": "marker" }, "errTrace": "sys::ArgErr: Invalid col name: filter=equip=\n Trace disabled", "dis": "sys::ArgErr: Invalid col name: filter=equip=" }, "cols": [ { "name": "empty" } ], "rows": []
}
How to use the filters with read end point. Sorry for basic question, new exploring it
Hello Fahad,
You need to url encode the entire filter expression. Also use siteRef instead of site.
equip and siteRef->geoCity == "XYZ"
filter=equip%20and%20siteRef-%3EgeoCity%20%3D%3D%20%22XYZ%22
Login or Signup to reply.
Fahad Zaheer Wed 12 Jun
read?filter=equip%20and%20site->geoCity%20==%20"XYZ"
This is the endpoint I am using to get the equipments with the site that is in city XYZ I always get this {
}
How to use the filters with read end point. Sorry for basic question, new exploring it
Ian Habermann Wed 12 Jun
Hello Fahad,
You need to url encode the entire filter expression. Also use siteRef instead of site.
equip and siteRef->geoCity == "XYZ"
filter=equip%20and%20siteRef-%3EgeoCity%20%3D%3D%20%22XYZ%22