当我按 LastUpdatedTime 执行搜索时,我得到“401 Unauthorized Error”。按 CustomerId 查询工作正常
这是我的代码:
var pq = new PaymentQuery()
{
LastUpdatedTime = new DateTime(2012,12,21),
};
pq.SpecifyOperatorOption(Intuit.Ipp.Data.Qbo.FilterProperty.LastUpdatedTime, FilterOperatorType.AFTER);
var list = pq.ExecuteQuery<Payment>(commonService.ServiceContext);
应用程序在 ExecuteQuery 中抛出 Intuit.Ipp.Exception.InvalidTokenException