Forum

API Not Give any da...
 
Notifications
Clear all

API Not Give any data ( date filter wont work )

4 Posts
2 Users
0 Reactions
3,016 Views
(@murtuza)
Posts: 8
Active Member
Topic starter
 
[#2758]

http://myserver/api/work/updated/20150423000000/20150429000000


 
Posted : 25 Nov 2015 15H32
(@babynus)
Posts: 14952
Member Admin
 

it is because Work object has not a creationDate or updateDate (when the input was done).
It only has a work date.
API has to be changed in order to give result for this request.
It must be noticed that due to specificity of this item, result will not be "all the work elements changed between dates" but "all the work elements defined for dates between dates".
For instance, in your request, if you entered on 2015-04-25 some work for 2015-04-20 (late input) you won't retrive this input. You will retrieve all work for corresponding dates, even if input is done on 2015-05-01.

Ticket #1879 recorded.


 
Posted : 25 Nov 2015 15H54
(@murtuza)
Posts: 8
Active Member
Topic starter
 

If I want to filter records on 'work'. how can i do ?


 
Posted : 25 Nov 2015 16H01
(@babynus)
Posts: 14952
Member Admin
 

Possibly define a filter for work directly in the database, but this is not easy.
Work has been introduced in API in V5.1 (quite late compared to other object) because it is a specific object.
Not all features are available on Work in the API.
Request will be taken into account asap.


 
Posted : 26 Nov 2015 13H11
Share:

Scroll to Top