Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ModifiedAfter filter format #261

Open
anukul opened this issue Apr 22, 2019 · 2 comments
Open

Fix ModifiedAfter filter format #261

anukul opened this issue Apr 22, 2019 · 2 comments

Comments

@anukul
Copy link

anukul commented Apr 22, 2019

From Xero API docs:

The ModifiedAfter filter is actually an HTTP header: ' If-Modified-Since'.
A UTC timestamp (yyyy-mm-ddThh:mm:ss)

PyXero does not follow this format for the timestamp, as seen here.

@Zylatis
Copy link

Zylatis commented Mar 23, 2020

Bumping this one up, mostly because I'd like to understand how to pass this constraint to the contacts.filter() method so as to only get contacts where the balance owed has changed in the last month

@schinckel
Copy link
Collaborator

Can you supply a link for the documentation? The HTTP specification asserts that this header should not be an ISO8601 timestamp.

(I'll take it up with Xero developer relations if I can find a link documenting it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants