I need to lookup Inspections by the data contained in the answer to 2 questions. I cannot get the syntax correct.
There can be multiple inspections that contain the same answer to QuestionID 524 but only 1 should match both 524 and 525. I'm trying to do this with a Respond Query to learn how to do it with the API. I need to get the InspectionID from the results to programmatically update the inspection with some new data.
Something Like below but that works:
Inspection(InspTemplateId = 10 , Questions(QuestionId = 524 AND Answer = Contains("1506"), AND Questions(QuestionId = 525 AND Answer = Contains("1230")))
