REST stands for Representational State Transfer. It uses the four HTTP methods GET, POST, PUT and DELETE to execute different operations.

learn more… | top users | synonyms

0
votes
1answer
12 views

Search documents contents using SharePoint 2013 REST API or CSOM

I'm wondering if there is a way to query the actual contents of the document using the REST API or using the CSOM and CAML from an ASP.NET application? I remember in a previous job that we used FAST ...
0
votes
1answer
32 views

SharePoint 2013 REST api to update list item- Uncaught ReferenceError: etag is not defined

I try to update my sharepoint list using REST api. But following code throws exception in browser "Uncaught ReferenceError: etag is not defined " Can someone help to resolve this issue? // update an ...
0
votes
1answer
26 views

How to get all items with a specific content type using REST Api

There are five Custom Lists in a site collection, all have same content type. I would like to get all items from those five lists using rest api. Is there a way to get all items from all lists having ...
0
votes
0answers
7 views

Accessing Site Collection Administration Recycle Bin through REST API for Sharepoint (Office365)

I'm looking for a way to access the Site Collection Administration Recycle Bin through REST API endpoints for Sharepoint. Is this possible? The only information I found on the net is here. How do I ...
0
votes
0answers
11 views

Office365(Sharepoint/OneDrive) REST API endpoints for Recycle bin call return empty list

I'm trying out the Recycle Bin REST API endpoints for Sharepoint mentioned here . The URL I'm hitting is; ...
1
vote
0answers
29 views

Sharepoint 2013 REST API with user without admin rights

I'm developing a web application which integrate with the sharepoint (multi-tenant). The app is supposed to upload and download files to the sharepoint. I'm using the Sharepoint 2013 REST and trying ...
0
votes
1answer
26 views

Expand nested property in one Rest url call

Say you have a Site named https://beyondhard.sharepoint.com/sites/TestPrivate in the SharePoint Online. I tried the url ...
1
vote
2answers
51 views

Understanding REST API response

Say you query a ListItem from the API _api/Web/Lists(guid'c5689c37-a28a-4122-bedb-b2ec7c44204f')/Items(1) and Let's say the item is a Page, and the Response looks like below. { "d": { ...
2
votes
1answer
31 views

Query Pages using REST

I've developed a newsfeed app part that currently gets its information from a list, however we're keen to have article pages that we can click through too. So far I've not found anything in the REST ...
3
votes
0answers
57 views

Is it possible to create a Document Set using REST API

I know this can be done using the JSOM, but is it possible via the REST API to create a document set?
1
vote
1answer
51 views

How to get 'form digest value' used in REST call?

I am trying to delete a web by calling the REST service from a SharePoint 2013 workflow. The MSDN reference here tells the syntax like $.ajax({ url: "http://<site url>/_api/web", type: ...
0
votes
0answers
29 views

Configure Personal site through REST

I am having difficulty accessing the users personal site details through REST on O365. I would like to run the code from the intranet home page (companyname.sharepoint.com) and of course I cant use ...
0
votes
3answers
48 views

What the RESTFul API for GetList of Site

I am looking for the SharePoint OnLine RESTFul API try to get all lists of specified Site. Let's say the default Site of Site Collection in my Office 365 SharePoint OnLine trial. The Site Collection ...
0
votes
0answers
48 views

How can I access the shared link for a file/folder (sent in an email) through Sharepoint REST API?

I want to get a hold of the link that Sharepoint sends in an email to the person we share an file/folder with, through the REST API. I'm using Office365 and I am referring to the link under "Open to ...
0
votes
1answer
28 views

Download of web page starts upon REST MERGE call

I have a nested REST call, that first GETS numClicked attribute of an item, then increments it by one, and MERGES back to update the column with the newly incremented value. This is working correctly, ...
0
votes
1answer
55 views

Want to access data using sharepoint REST Api in web application

I want to access SharePoint data in my application. I am new for this so don't know much about this to access data from SharePoint. I do not have permission on all pages in SharePoint so need to ...
0
votes
2answers
45 views

Failed to load resource: the server responded with a status of 406 (Not Acceptable) when my REST api call

Failed to load resource: the server responded with a status of 406 (Not Acceptable) when my REST api call works in site. But when I enter the REST url in browser it returns the result. So nothing ...
1
vote
1answer
102 views

What is the original form of _api/web/lists

I'm working with REST in SharePoint 2010. What is the original form of http://server/site/_api/web/lists/getbytitle(‘Title’) in SharePoint 2010?
1
vote
1answer
76 views

Manage File permissions using REST API

Is there a way to manage File permissions (roles) using the REST API? http://msdn.microsoft.com/en-us/library/office/jj860569(v=office.15).aspx I'm developing an app asking for permission on the fly: ...
0
votes
1answer
49 views

REST updating List field

Using REST Api, how would I go about updating a plain number column within a list? Is there any faster way of doing so aside from doing a GET, then a separate POST? Seems there could be a faster way ...
1
vote
1answer
35 views

How does one access and modify the content of site pages using the SharePoint 2013 Rest API?

Basically I have a ribbon custom action and I would like to put it in page actions. When the user clicks on it it accesses the HTML content of the page and modifies it in order to give for instance ...
1
vote
0answers
82 views

Getting Calendar items on Office 365 using REST API

Hi SharePoint Ninjas, I am having trouble with a REST call using jQuery on Office 365 and was wondering if you guys have ever experienced something similar and could give me some hints? What I am ...
1
vote
1answer
36 views

how can I http POST to libraries with SP 2010's REST API?

SP 2010's REST api documentation cites an example that uses a list, whereas I wish to rely on a library (for example, "SharedDocuments"), because a standard named library already exists in every ...
-1
votes
1answer
27 views

iterating list using _api rest - Not working

I can see 2 records in the console but my alert doesnt print out any data and doesnt append to the table either. See below and thanks in advance // begin work to call across network var ...
0
votes
0answers
12 views

SPD 2013 Workflow Handling “__next” page of List Items

I have a Sharepoint list and a workflow that needs to loop through each list item. Currently there are 450 items. I can do an HTTP GET call within my workflow, but if I do $top=500 to get all of the ...
0
votes
1answer
180 views

upload attachment to SharePoint List Item using REST API from Java client

Following Java code is an example for uploading a file attachment to the SharePoint 2013 list item. String uploadquery =siteurl+ ...
0
votes
1answer
25 views

Rest List Filter Query Multi Line search

I have created a form and am using bootstrap, jquery and knockout to display the results nicely from a discussion board in office 365. I am querying a list using the rest api and applying a filter to ...
2
votes
1answer
103 views

SharePoint 2013 Http Web Service Action

I have created a basic SharePoint 2013 workflow with the intent to call the Rest API to retrieve the users from a SharePoint Group. To do this I am attempting to use the HTTP Web Service action ...
0
votes
2answers
79 views

Insert a list item using REST form webpart: 403 error even when X-RequestDigest is present

I intend to insert a list item from the main page in intranet to a list hosted on another site collection. I made this simple HTML & JS to get it done, but I always get the 403 / FORBIDDEN error: ...
0
votes
1answer
76 views

Get users Manager using Client API

url: appweburl + "_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='Manager')?@v='" + seluser + "'", For my SP 2013 app I need to get a users manager and I'm ...
0
votes
1answer
52 views

SharePoint 2013 Javascript REST API related: Saving Conflict. code=-2130575305, Microsoft.SharePoint.SPException

I have a function which updates list items. I use fiddler 2 for tracking the traffic. When I stress test the function I get code=-2130575305, Microsoft.SharePoint.SPException error, and the error ...
0
votes
1answer
51 views

People search using CSOM API

I am using CSOM in API. I used following code for content search in documents and now want to integrate People search which can search users from sharepoint website using CSOM. ...
0
votes
1answer
32 views

Get User Properties By Id

I am having trouble finding documentation on how to query for user properties via JSOM or CSOM using a SP UserID. I must be missing something because SharePoint returns an ID for the user involved in ...
0
votes
0answers
151 views

How to upload a file using REST and C#

I already go a connection with the OAuth 2.0 protocol. I am using REST and C# to get file- and folder information, create folders etc. through WinForms. Im not able to upload a picture. (A text file ...
4
votes
2answers
115 views

Activate a site feature using REST API

I have a workflow which creates a site when an entry is made to a list. I need to activate one of the features at that newly created site using REST API. How can this be done?
1
vote
1answer
141 views

Get private folders of all users in OneDrive for Business REST API

I want to get all private folders(and files) for all users in one drive for business using REST API. I got access token for https://mydomain-my.sharepoint.com using administrator account. Now I am ...
0
votes
1answer
51 views

Lync Presence Image not matching in IE

I am trying to create a custom Lync presence indicators. They work perfectly in Chrome & Firefox but IE is causing problems. Chrome IE I have a couple of errors on the page but none that ...
0
votes
0answers
30 views

Sharepoint Rest 2013 Folder Creation Unicode Issues

I'm running an integration test against OneDrive and Sharepoint seems to really dislike the \u041d aka Н character in the HTTP POST Body below. ...
0
votes
1answer
106 views

ReferenceError: SPClientTemplates is not defined

I am trying to use the client-side People Picker and I can't get it to initialize the people picker due to SPClientTemplates not being defined. I am following MS documentation line by line but cannot ...
0
votes
1answer
74 views

SharePoint2013 Add folder/sub folders to document library from outside SharePoint environment

My requirement is when a button clicked in my application(hosted on a different server), need to check folder exists with the named supplied. If not exits, able to create folder and sub folders in a ...
0
votes
1answer
58 views

SharePoint 2010 REST API to get entry permissions

Using the SharePoint 2013 REST API, I am able to get file\folder permissions using GetFileByServerRelativeUrl or GetFolderByServerRelativeUrl and then expanding RoleAssignments to get all the ...
0
votes
0answers
17 views

Index RESTful API results from external system in to SharePoint?

How to index RESTful API results from external system in to SharePoint? Any working samples would be appreciated.
0
votes
1answer
48 views

Date functions with $select in REST API

I'm using the following REST call to get the data. Here is the url structure: SiteURL+'/_api/web/lists/GetByTitle(\''ListTitle+'\')/items?$select=AlternateThumbnailUrl,Title,Created this is ...
0
votes
0answers
30 views

Fill list item fields via another site's RESTful API

I would like to fill some fields of a SharePoint list taking values from another non-SharePoint site exposing a RESTful API. More precisely, I have a non-SP web site to which I can send a GET ...
5
votes
1answer
154 views

Configure Navigation Inheritance when create site with Rest API

I wonder how do I keep the navigation bar of the parent site when I create a subsite. Below is the code I'm using to create the subsite and thought it might be some parameter that I could use to do ...
1
vote
1answer
144 views

Read DOCX files using javascript in sharepoint 2013

Can we fetch contents of DOCX files uploaded in a doc library from javascript code ? I could easily read a TXT file ref : http://msdn.microsoft.com/en-us/library/office/jj163201(v=office.15).aspx . ...
0
votes
1answer
106 views

Copy a file from the RootSite to a SubSite

I'm trying to add a file from a Rootsite to a SubSite using REST API. There some code: $.ajax ( { url : _spPageContextInfo.siteAbsoluteUrl + "/_api/web/getFileByServerRelativeUrl('" + selected + ...
1
vote
1answer
126 views

Bad Request 400 when uploading file to Sharepoint Online document library

I am trying to upload a file to a document library and keep getting a statusCode of 400 with the text just saying "Bad Request." I was rifling through some other forums and saw that the API could ...
0
votes
1answer
73 views

SharePoint REST API - How To Enable Incoming Email On A List

am trying to migrate SharePoint 2010 code to SharePoint 2013 using the REST API. I have a list that is created dynamically, and one of the settings I need to enable, is to allow incoming email into ...
3
votes
1answer
149 views

Audit log web service for Office 365

I am working on developing an application that will interact with the Office 365 services. I am currently able to get the files and folders of a singed-in user using the OAuth2 authentication. I am ...