Skip to content

CompleteBeforeBefore and CompleteAfterAfter params for Task list #18

Description

@mangyvr

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions