Filtering tasks by user not possible

Dear Community and awork,

as per awork documentation https://developers.awork.com/apiv1/time-entries/returns-all-time-entries we try to get time entries and filter them by user.

for this request

https://api.awork.com/api/v1/timeentries?filterby=user/id eq „12345678-1234-1234-1234-123456789123“

we always receive an answer like that:

Fehlerhafte Antwort von awork: 400 {„code“:„invalid-filter-or-order“,„description“:„Something is wrong with the given ‚filterby‘ expression.“,„traceId“:„f50c6cb3c82bf2b5f0f7000ec7e009b1“}

What’s wrong with our request?

Thanks for any help!

Max

Hi @Max5 and welcome to the forum.

You need to include guid'123..' to make the user id as a guid.
See the docs here: Filtering | awork API | Documentation

Hope this helps.

Thanks for your quick help @Sebastian !
That was the information I missed.

Have a nice weekend.

1 Like