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

Web Services: GetValues returns all values when only startDate is specified #84

Open
xhqiao89 opened this issue Aug 14, 2017 · 1 comment
Labels

Comments

@xhqiao89
Copy link
Contributor

jirikadlec2[CodePlex]
In Web Services - REST Service Test when I set the startDate and I don't set the EndDate, I get all of the data values for the site and variable. I have the same problem when I set the endDate but don't set the startDate.

Correct behaviour should be:
If I set only startDate: Return all values after the startDate
If I set only endDate: Return all values before the endDate

This problem is in the GetValues and in the GetValuesObject methods.

@xhqiao89
Copy link
Contributor Author

xenomorph1030[CodePlex]
Right now in the code, it will only use the startDate and endDate if both are supplied. If only one, it ignores it. I agree with your suggestion on what the correct behavior should be.

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

No branches or pull requests

1 participant