Filter parameters digits/characters
The following works fine and I get the project list filtered by the parameter:
https://api.wordbee-translator.com:32570/projects?token=xxx&filter=Status_=1
https://api.wordbee-translator.com:32570/projects?token=xxx&filter=ProjectId=38
On the following I get 'Request Error':
https://api.wordbee-translator.com:32570/projects?token=xxx&filter=SourceLocale='en'
https://api.wordbee-translator.com:32570/projects?token=xxx&filter=ProjectType='Standard'
Based on the API documentation (7.1.1 List or find projects): Filter - optional, Free filter on any project property.
Why the filter works only with parameters which are digits and not with characters? what's wrong with my url request?
-
Dear Wordbee,
Can we please get help on this topic?
Thanks.
0 -
Hi Alex,
Instead of single quotes please put double quotes.
This is an error in the documentation.
For example, this will work:
....&filter=SourceLocale="en"
Regards,
Stephan
PS: The online documentation was corrected:
http://documents.wordbee.com/display/SystemAPI/Filtering+results
0 -
Hi Stephan,
Thanks for the hint :)
Will it work when we try to filter by date as well?
Like this: &filter=ReceivedDate%3D"ISODATE"
Thanks!
0 -
Hi Alex,
I have updated the documentation to show how date filters work:
http://documents.wordbee.com/display/SystemAPI/Filtering+results
Example:
...&filter=Deadline>=DateTime(2017, 1, 25)
Regards,
Stephan
0
Please sign in to leave a comment.
Comments
4 comments