In the Sharepoint website, I have a list called 'publication groups', whose contenty type is A.
I use this url to get the properties of a item. https://something.com/myweb//_api/web/lists/getbytitle('publication groups')/items?$filter= Title eq 'Sunday'
I find in the xml result, it doesn't contain some field of this item. Actually A content type contains a field called Project, but I cannot get this field in the xml.
Is there anywhere to set the configuration? Thanks.
Edit:
I tried with this url: https://something.com/myweb//_api/web/lists/getbytitle('publication groups')/items?$filter= Title eq 'Sunday'&$select=*,Project Then I got this error
I went to the content type setting to see what fields it includes, but I see project there. What may be wrong? Why cannot I get this field if it belongs to Publication group?
Edit2:
I resolved this problem. Why I get the "The field or property project does not exist" error is that I should use the internal name of project field, not the show name. The url should be like this: https://pubcenter-dev1.sp.srv.volvo.com/robinlab//_api/web/lists/getbytitle('publication%20groups')/items?$select=vppc_ProjectLookupId
Firstly, I need to get the internal name of this project field.
https://something.com/myweb//_api/web/lists/getbytitle('publication groups')/items?$filter= Title eq 'Sunday'&$select=*,Project