I started using the verbose parameter with curl and have a lot more to work off of now. I found that my URL was incorrect. It should be:
Still working on the XML. At least I have some error messages to help me out now.
Here is the correct syntax for the input XML:
<Criteria field="lastScan.date" operator="GREATER">2012-05-01T0:00:00Z</Criteria>
<Criteria field="lastScan.date" operator="LESSER">2012-05-08T0:00:00Z</Criteria>
<Criteria field="lastScan.status" operator="EQUALS">FINISHED</Criteria>
Let me know if it works for you. In addition to the user guide, you can refer to the comments in the XSD to understand how to write the input XML
Thank you very much for your help. This definitely clears things up a bit. Just one more question. When using the logical AND, how would that be formatted? I've tried a number of different ways, but can't seem to get a successful result. My XML looks like this:
<Criteria field="lastScan.status" operator="EQUALS">FINISHED AND ERROR</Criteria>
Again, thank you for your time.
In order to pass multiple values, we need to use the IN operator and comma as separator for the different options. So in your example this should be:
<Criteria field="lastScan.status" operator="IN">FINISHED,ERROR</Criteria>
This worked perfectly. Thank you!