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

CompleteBeforeBefore and CompleteAfterAfter params for Task list #18

Open
mangyvr opened this issue Jun 20, 2018 · 0 comments
Open

CompleteBeforeBefore and CompleteAfterAfter params for Task list #18

mangyvr opened this issue Jun 20, 2018 · 0 comments

Comments

@mangyvr
Copy link

mangyvr commented Jun 20, 2018

http://docs.onfleet.com/docs/tasks#list-tasks

CompleteBeforeBefore and CompleteAfterAfter params do not seem to be supported for Onfleet::Task.list.

edit:

Onfleet::Task.list({completeBeforeBefore: to, completeAfterAfter: from}) returns a list of tasks, but it's the same as if the parameters were not passed. Onfleet::Task.list({worker: 'worker id'}) also returns all tasks, not just the ones by the worker. However Onfleet::Task.list({state: 1}) works.

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

1 participant