I've been trying to filters with rest API, but I seem to be struggeling with easy requests. So this one works without any problems
http://myserver/_api/web/lists/getbytitle%28'Tickets'%29/items?$select=AssignedToId
If I try to filter based on this property I receive an error
http://myserver/_api/web/lists/getbytitle%28'Tickets'%29/items?$filter=AssignedToId eq 1
Why is this the case? Isn't it the case that you can filter any property you can find in in the response? Please help me out here.