I have 2 lists: Questions and Answers. Questions has a single lookup to Answers. Answers has a single choice column called Category. I would like to query Questions, expand its Answer and select the Answers Category.
I thought this would be simple like it was in 2010 and tried these:
/_api/web/lists/getByTitle('Questions')/items?$filter=Id eq 2&$expand=Answer&$select=Id,Answer/Category
/_api/web/lists/getByTitle('Questions')/items?$filter=Id eq 2&$expand=Answer&$select=Id,Answer/CategoryValue
but I get the error:
The query to field 'Answer/Category' is not valid.`
How can this be done in the new REST APIs?
