I am trying to filter the result in the SP 2013 rest service but I am getting the below response -

Error - No property 'test' exists in type 'Microsoft.SharePoint.Linq.DataServiceEntity' at position 0.

When I take off the filter, I do see the TEST field is coming in the response -

REST Service:


RESET response without filter -

    <d:Test m:type="Edm.Boolean" m:null="true" />
    <d:Id m:type="Edm.Int32">1</d:Id>

I think you mean SPSite.com/sites/events/_api/web/lists/getbytitle('Events')/items?$filter=test eq 1 the listdata.svc is for sharepoint 2010.


listdata.svc is SharePoint 2010 method for getting data from SharePoint list using REST API.

You can use "_api/web/lists" method for getting data from SharePoint List using REST API in SharePoint 2013.

End Point URL: SPsite.com/sites/events/_api/web/lists/getbytitle('Events')/items?$filter=Test eq 1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.