stable

Clone or download

Read-only

REST Query with dates

Part of story #11253 - get a consolidate view of my timesheeting in my personal dashboard How to test: - In API explorer go to timetracking/ --> you get all your times if there are some to retrieve for the given period. --> error 400 when you have a no start_date or end_date --> error 400 when start_date > end_date --> error 400 when less then 1 day offset between the two dates Change-Id: Id989969eb3f0fc263b9b13d5a5a7b7de6bf83067

Modified Files

Name
M include/Timetracking/REST/v1/TimetrackingRepresentationBuilder.php +2 −2 Go to diff View file
M include/Timetracking/REST/v1/TimetrackingResource.php +57 −3 Go to diff View file
M include/Timetracking/Time/TimeDao.php +8 −3 Go to diff View file
M include/Timetracking/Time/TimeRetriever.php +2 −2 Go to diff View file
M tests/rest/Timetracking/TimetrackingTest.php +200 −2 Go to diff View file
M tests/rest/_fixtures/project/project.xml +1 −1 Go to diff View file