The REST (Representational State Transfer) interface in Microsoft SharePoint Foundation 2010 provides access to lists and libraries as a relational data service. A core concept of any RESTful interface is the resource, and in SharePoint Foundation, lists and items are represented as HTTP resources ...

learn more… | top users | synonyms (1)

0
votes
1answer
327 views

creating a subsite using c# and the rest api

Im trying to create a site using the rest api from a console app. I keep getting a "Not well formed JSON Stream". I cant find much on calling the rest api from c# so have been piecing it together ...
0
votes
1answer
136 views

Understanding authorization schemas for a custom SharePoint web service

I am building a custom Rest service to be hosted on a SharePoint 2013 farm. The service currently has only one method called "Ping" which simply return the current DateTime. public interface IService ...
1
vote
0answers
413 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
217 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?
0
votes
0answers
51 views

Enable Create/Update/Delete operations for the REST API

I'm using the REST API with two Sharepoint installations (one using Sharepoint Online, the second using Sharepoint Server). When I'm using Sharepoint Online, everything is fine. When I'm using ...
1
vote
1answer
341 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 ...
2
votes
1answer
896 views

Using JSOM or REST get list items stored in a different web application

In an on-premises SharePoint 2013 environment I need to read list items stored in a different web application using JavaScript based solution. This could either be JavaScript in Script Editor web part ...
0
votes
1answer
77 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
56 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. ...
1
vote
1answer
341 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
56 views

Error when using REST URL

Hello we can use foll URL in IE and get XML output: http://intranet:1111/_api/SP.UserProfiles.PeopleManager/GetMyProperties/PictureUrl But if we try to use the below URL we get error as feed format ...
0
votes
1answer
371 views

How to parse the output returned from REST (/_api/)?

When we use REST we get output as xml how do we parse this via JSOM and fetch the values? Also, please provide some information on how to use this in SSOM instead of JSOM?
0
votes
1answer
307 views

What governs the decision to use server object model or client object model or javascript object model or REST?

What governs the decision to use (in SharePoint 2013)?: server object model (ssom) client object model (csom) JavaScript object model (jsom) REST
1
vote
1answer
80 views

SP 2013 REST API retrieve values from lookup library

I have a custom list 'MyList', containing a (single value) lookup field 'MyLookupField', which points to a library 'MyLibrary'. I now want to retrieve all items from 'MyList', including the Link to ...
0
votes
2answers
446 views

Error: The security validation for this page is invalid

I have as simple function to just upload 1 document in 1 library. I made a REST service as part of a SharePoint solution which I deploy/debug against sp2013. However the list.Rootfolder.Files.Add ...
1
vote
1answer
357 views

Multiple File Upload with Metadata Using REST

I want to upload multiple file with metadata using REST service. I am using http://msdn.microsoft.com/en-us/library/office/dn769086(v=office.15).aspx it works perfectly fine with single file upload ...
0
votes
1answer
205 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
0answers
15 views

Querying 'Append Changed to Existing Text' from client script?

Is there a way, preferably via REST but JSOM would work, to query a SharePoint 2010 field to get all entries when 'Append Changes to Existing Text' on a multiple lines of text field is enabled?
1
vote
1answer
193 views

How can I authenticate SharePoint REST calls from Android App?

I have a website that is built using SharePoint Foundation 2013.I have a number of list and libraries there. For Example: I need to develop a android application to show the SharePoint List ...
0
votes
2answers
193 views

How to get all the files created by an user on Sharepoint using REST API

I am trying to get all the files created by a specific user using userid. The below REST url is what I am trying: ...
0
votes
1answer
80 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
55 views

ko is not defined - Knockout and SharePoint 2013 Code Embed?

Any special considerations when loading Knockout with code embed on a SharePoint 2013 Page? <script type="text/javascript" ...
0
votes
0answers
26 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.
1
vote
0answers
137 views

Copy file to another folder with REST API

I'm trying to copy a file located in user's personal folder (OneDrive Pro) using REST API. The resulting link seems to become too long and server returns 400 BadRequest: The length of the URL for ...
0
votes
1answer
70 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
15 views

Is there an elegant way to download the source of a <content> tag from ATOM?

I am trying to download the forms XML from a Sharepoint 2010 list using the REST API's ATOM feed: http://sharepoint.example.org/Site/_vti_bin/listdata.svg/ListName I want to download the content, ...
1
vote
2answers
184 views

SharePoint User Profile REST API unknown error

I activated user profiles (and managed metadata services), but when I call: http://<mysharepointsite>/_api/SP.UserProfiles.PeopleManager/GetMyProperties I get: <m:error ...
1
vote
1answer
38 views

Access Sharepoint Images from app

I'm in the process of setting up a REST call to access images in a SP folder via Office365. My question is where do I add my onedrive credentials as part of the REST call? Once the call is ...
0
votes
0answers
34 views

Expand Group data in Lists

I'm trying to get the list Items with the REST api but I would like to add the group data of the owner (especially the group ID or the groupname) within the items data, Is there a way to expand the ...
0
votes
0answers
32 views

List Item Filtering for Adminsitrators

I have a list that I'm querying using RESTful uris like so: http://site/_api/lists/getByTitle('Links')/items Each item in the list has individual permissions applied to it (both users, and groups) ...
4
votes
3answers
2k views

REST API filter by start and end dates

I'm new to filtering dates with REST in SP but am trying to do something like below but am not sure how to get today's date in as a variable into the request. I don't think I'm too far off so any help ...
2
votes
1answer
177 views

Update folder name using REST API

I am using REST to update folder name via sharepoint apps. My code as follows: executor = new SP.RequestExecutor(appweburl); executor.executeAsync({ url: appweburl + ...
0
votes
2answers
1k views

REST Adding New List Item

I am currently using office 365 and lots of REST queries to display data. However I am now creating my own forms using bootstrap and JQuery. However, how do I use REST to add the data to the list. ...
3
votes
3answers
160 views

Soap + Rest: Trying to understand differences for selecting fields between the two

I'm working on a Java-Application that integrates with SharePoint. The different SharePoint services are currently requested via the SOAP API. I am now working on an abstraction layer to also ...
0
votes
1answer
157 views

Get all documents in a Document library using SharePoint 2010 services and Javascript

I am trying to retrieve all documents in a document library using SharePoint 2010 Services (Listdata.svc or lists.asmx) and JavaScript. I have searched on Internet and found some, none of them gets ...
3
votes
2answers
437 views

Sharepoint REST service

Is there any way of reading the documents names of a Document Library using JavaScript from a web application that is not hosted in SharePoint? by the way, my requirement if for SharePoint 2010 not ...
5
votes
1answer
258 views

Avoid NTLM Authorization Handshake On Every Request to the REST API?

I am accessing SharePoint 2010 REST API with a System.Net.Http.HttpClient. The server is set up with NTLM authentication, and I am accessing it over the Internet. Every time I send a request from my ...
1
vote
2answers
336 views

SharePoint Online REST API Image upload AJAX

I'm trying to upload an image to SharePoint using native JavaScript/jQuery - NOT SP.RequestExecutor. I've cracked the authentication issue, nice and easy, so now it's just a case of working out how ...
1
vote
1answer
155 views

Search REST API call not working for anonymous

I'm trying to execute the following query for anonymous users. But, its not getting any results. When login, its working fine. Any idea about this ? /_api/search/query?QueryText='Category: "About ...
0
votes
0answers
41 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 ...
2
votes
1answer
357 views

How to List Documents in a SharePoint 2010 Folder with REST

I'm trying to access an SPS 2010 document library that contains folders, which in turn contain documents. I can successfully list the content of the library and see all folders and root-level ...
6
votes
1answer
303 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 ...
0
votes
1answer
114 views

Search Autocomplete

I've been making a custom SharePoint Web Page and I had a basic search bar that searches either Google or our SharePoint site depending on which of two radio buttons are selected upon searching. If ...
0
votes
2answers
892 views

SharePoint list as data source for jQuery DataTables plugin

I trying to create a table using a SharePoint list as source. I followed this tutorial and it worked perfectly. But this method would not work if you need to reload the data using, let's say a drop ...
1
vote
1answer
576 views

SP2013 C# REST File upload

I'm working on a piece of software that uploads files into a given sharepoint directory from a remote location (ASP.NET MVC). I have everything working properly, uploading with CSOM when files are ...
1
vote
1answer
236 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
3answers
479 views

Get User Details From REST Data using CSOM

I am currently using REST to query a discussion board list. The results I am then displaying nicely in a table using bootstrap. We are using office 365. The REST query returns an authorID. How can we ...
1
vote
1answer
167 views

Need help retrieving site column names using REST service call in SP 2013

I need to retrieve content types and accompanying site column names and fields. Does anyone know how to construct the REST notation to accomplish this? I have tried variations of: /lists/sitecontents ...
0
votes
1answer
89 views

Checking if the site I'm following has newsfeed enabled

Problem: I want to fetch all the sites that I'm following but want to eliminate those that don't have newsfeed/site feed enabled. There is a REST endpoint to fetch all the sites that I'm following: ...
1
vote
2answers
131 views

MultiChoice doesn't show up in REST service Content Types

I've added a multichoice column to a content type, and when I call listdata.svc and look inside of the content types and find the one I want, the multichoice column isn't there. When I change the ...