Skip to main content

Jeremy Thake's Library tagged script   View Popular

http://willhlaw.wordpress.com/2009/10/21/linq-and-rest-in-sharepoint-2010-live-from-spc09-las-vegas/

"Powered by ADO.NET Dadta Services “Astoria”


REST Protocols: Atom, AtomPub, and RSS


Syntax:


/_vti_bin/ListData.svc/{Entity}[({identifier})]/[{Property}]


Example to get budget hours for Project $4:


/_vti_bin/ListData.svc/Projects(4)/BudgetHours


Example to get Projects for Clients in Chicago:


/_vti_bin/ListData.svc//Projects?$filter=Client/City eq ‘Chicago’


Example to get a Project and its related Client:


/_vti_bin/ListData.svc/Projects?$expand=Client

Shows me parent that is associated with this XML


QueryString parameters for REST


$filter

$expand

$orderby

$skip

$top

$metadata (will bring back all the XML metadata about the object.
Think of it like WSDL for your REST
call
)

You can stack these parameters"

willhlaw.wordpress.com/...2010-live-from-spc09-las-vegas - Preview

sharepoint #SP2010 development rest linq script

1 - 20 of 935 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo