I have two lists: 'Company' and 'Customer'. In 'Customer', I have an auto look up field called 'parent'. Then I tried to use Rest to retrieve data from customer like this:
http://mysite/_api/web/lists/getByTitle('Customer')/items?$select=parent/Id&$expand=parent/Id
But the response returned error: <m:message xml:lang="en-US">The field or property 'parent' does not exist.</m:message>
What can I do to get rid of this error.
thanks in advanced