Download Orders in C#

Posted in General by Mike Reisenweber Thu Oct 27 2016 01:00:42 GMT+0000 (UTC)·Viewed 528 times

I am writing a c# application to download Orders. I am using the client.GetOrders method. In the Query I set the Status to "ready_for_shipment" I can successfully download orders. When I add the LastUpdated field to the query I get strange results. Should the datetime value I use for LastUpdated be the GMT date or my local date of the last order I downloaded? If I use the local date, I gets some orders I previously downloaded. If I convert the LastUpdated to GMT I get an error stating Access Violation.
Markdown is allowed