Searching resources by Id