REST Interface

Operations in the SharePoint Foundation REST interface constitute a standard set of operations for RESTful Web services.

Read, create, update, and delete
à GET, POST, PUT, and DELETE



http://myserver/_vti_bin/ListData.svc – return all list names
http://myserver/_vti_bin/ListData.svc/Projects – retunr all item in the list
http://myserver/_vti_bin/ListData.svc/$metadata – metadata for all list
http://lsspf4719/sites/TestWebs/_vti_bin/listdata.svc/Employees(2) – retuen the list item by id = 2
http://lsspf4719/sites/TestWebs/_vti_bin/listdata.svc/Employees?$orderby=Name – return employees, order by Name
http://lsspf4719/sites/TestWebs/_vti_bin/listdata.svc/Employees?$filter=Project/Title eq ‘My Project Title’ — Use enavigation to filter the list.

 

 

 

 

 

 


 

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: