We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to https://github.com/paymoapp/api/blob/master/sections/datetime.md, date and time data needs to have ISO 8601 format. However, when I try it, it seems to work correctly only with Unix timestamps, actual ISO 8601 values do not work.
Demo:
$ curl -u xxxxxxxxxxxx:X -H 'Accept: application/json' "https://app.paymoapp.com/api/clients?where=updated_on%3E%3D2016-01-01T01%3A01%3A01Z%20and%20updated_on%3C2017-06-01T01%3A01%3A01Z" {"clients":[]}
$ curl -u xxxxxxxxxxxx:X -H 'Accept: application/json' "https://app.paymoapp.com/api/clients?where=updated_on%3E%3D1451610061%20and%20updated_on%3C1496278861" {"clients":[{"id":...............]}
By the way, if one forgets to URL-encode the where value, the API silently fails. It should probably return some kind of error message.
The text was updated successfully, but these errors were encountered:
Why hasn't these issues been cleared out?
Sorry, something went wrong.
Is there a fix available to add a separate keys the API, for date and time, so we don't need to parse. Is this possible?
No branches or pull requests
According to https://github.com/paymoapp/api/blob/master/sections/datetime.md, date and time data needs to have ISO 8601 format. However, when I try it, it seems to work correctly only with Unix timestamps, actual ISO 8601 values do not work.
Demo:
By the way, if one forgets to URL-encode the where value, the API silently fails. It should probably return some kind of error message.
The text was updated successfully, but these errors were encountered: