Question

quation on Mon, 17 Oct 2016 11:49:03


Hi all,

COuld you please provide any videos or examples how to use REST api's in sharepoint 2013.

where to post the code in Visual studio ?

THanks.


sekhar


Sponsored



Replies

Maruthachalam on Mon, 17 Oct 2016 21:12:56


Hi,

Hope the below detailed post on accessing SharePoint data using REST API with code samples will help you!

Get Current Logged in User & Manager using REST API in SharePoint Online

Cheers,
Maruthu
P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)
Explore the SharePoint


Lakshmanan Sethu on Mon, 17 Oct 2016 23:06:18


Here is the basic tutorial you can learn about REST API's

https://msdn.microsoft.com/en-us/library/office/jj860569.aspx?f=255&MSPPError=-2147217396


Please remember to click Mark as Answer on the answer if it helps you


Maruthachalam on Fri, 21 Oct 2016 15:19:32


Hi,

Does the tutorials shared by me & Lakshmanan helped you? Please let us know if you need further assistance.

Sharing some REST API operations for your reference:

Select All items and columns: 

_spPageContextInfo.webAbsoluteUrl + "/_api" + "/web/lists/getbytitle('listname')/Items?$select=*";

Get Current User Properties:

_spPageContextInfo.webAbsoluteUrl + "/_api/SP.UserProfiles.PeopleManager/GetMyProperties"

Total Item Count in List:

_spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('listName')/ItemCount

Here are some more REST API basic tutorials:

https://msdn.microsoft.com/en-us/library/office/dn531432.aspx

https://msdn.microsoft.com/en-us/library/office/fp142380.aspx