7
列表的OData服务。如果我的列表所在的位置:如何获得在SharePoint 2010
http://sharepoint2010m/Lists/VideoPlayerData/AllItems.aspx
我如何获得通过OData服务实际项目?
列表的OData服务。如果我的列表所在的位置:如何获得在SharePoint 2010
http://sharepoint2010m/Lists/VideoPlayerData/AllItems.aspx
我如何获得通过OData服务实际项目?
你的REST端点是:http://sharepoint2010m/_vti_bin/listdata.svc/VideoPlayerData
在你的榜样,您的列表住在根。但是,如果您需要访问更深层次的列表,请在网址中的最后一个网站之后加上_vti_bin
。
例如,在访问列表: http://sharepoint2010m/MySite/MySubSite/Lists/MyList/AllItems.aspx
,
你会问:
http://sharepoint2010m/MySite/MySubSite/_vti_bin/listdata.svc/MyList
微软也有一个名为Using the REST Interface你可能要检查出有价值的文章。