Using REST to get data form SharePoint 2010 lists

Since REST uses a standard URL - addressable format and uses standard HTTP methods, such as GET , POST , PUT , and DELETE , you get a predictable way to retrieve or write items in your SharePoint deployment. Here is a quick reference to how you would retrieve data with REST url

List of Lists - ../_vti_bin/listdata.svc

List - listdata.svc/Listname

Item - listdata.svc/Listname(ItemID)

Single Column - listdata.svc/Listname(ItemID)/Column

Lookup Traversal - listdata.svc/Listname(ItemID)/LookupColumn

Raw Value Access (no markup) - listdata.svc/Listname(ItemID)/Column/$value

Sorting - listdata.svc/Listname?$orderby=Column

Filtering - listdata.svc/Listname?$filter=Title eq ‘Value’

Projection - listdata.svc/Listname?$select=Title,Created

Paging - listdata.svc/Listname?$top=10&$skip=30

Inline Expansion (Lookups) - listdata.svc/Listname?$expand=Item

1 comments:

  1. Essentially, the difference between the two lies in the longevity of their effect as well as the duration it requires for them to take effect. These drinks work quickly and give you a window of opportunity to pass a test. Whereas, detox kits offer a long-term cleanse with usage over a period of time. Additionally, detox kits include testing equipment to help you gauge the detoxing effects beforehand. In effect, you can make sure you’re going to pass a test prior to it and then proceed to go for the actual test. As mentioned earlier, the two differ in their effects as well as the time it takes them to work. Consequently, detox kits are ideal if you have plenty of time (at least 10 days) before the test to completely cleanse your system in a permanent way. These drinks, on the other hand, are the perfect solution for situations where you don’t know the exact time of a test. They work quickly (approximately between 30-90 minutes) to eliminate toxins from your body and keep your body clean for around 6 hours. You need your hair follicles cleaned quickly and thoroughly. On the bright side, that’s still possible. In this guide, we’ll be touching on the top hair follicle detox shampoo for passing a drug test. These are the top 4 of the best hair follicle detox shampoos: 1. Old Style Aloe Rid Shampoo - Best Detox Shampoo Overall 2. Ultra Clean Shampoo - Best Value Detox Shampoo 3. Folli-Clean Shampoo - Best for Color-Treated Hair 4.

    ReplyDelete

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer or anyone else. Should you have any questions or concerns please e-mail me at sharepointprogrammingblogger@gmail.com .

Copyright (c) 2010 @ myshaepointwork.blogspot.com. All rights are reserved.Do Not Copy.

@ Learning SharePoint.com