JohnBarulich1
7 years agoQrew Cadet
JavaScript API_DoQuery failing to give the proper xml response
function getAndSetList() {The above code processes the xml, but it does not find any records. FID 66 is an [End Mileage] field and I would like to see all the records with this field for the last week. I don't think there is a syntax issue with the query parameter but there is definitely something wrong with it, because I can query other fields without using IR (Is During).
var url = "blahblah";
getPerm();
$.get(url, {
act: "API_DoQuery",
query: "{66.IR.'last wk'}",
clist: "66"
}).then(function(xml){
console.dirxml(xml);
});
}