function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sankar GaneshSankar Ganesh 

xero invoice based on modified date

Hi folks,

I have salesforce integrated with xero. I am accessing invoices by following https://api.xero.com/api.xro/2.0/Invoices

I need to filter the modified date of invoice after '2017-10-11'. I found UpdatedDateUTC is used to refer modified date.

I tried following but unable to get the desired results. Anyone know how to get this.

 request.setEndpoint('https://api.xero.com/api.xro/2.0/Invoices?UpdatedDateUTC > =DateTime(2012,11,10,00,00,00)');
 request.setEndpoint('https://api.xero.com/api.xro/2.0/Invoices?UpdatedDateUTC > = 2017-09-11');