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

4
votes
1answer
13 views

REST list item delete does not go to Recycle Bin

I have a SharePoint 2013 autohosted app with a number of lists inside of it. I would like to be able to soft delete a list item using the REST API and have it go to the Recycle Bin instead of being ...
1
vote
0answers
14 views

How to filter web service results based on multiple parameters? [migrated]

To filter on multiple parameter I use this web service call : http://mysite/sites/test/_vti_bin/listdata.svc/Values?$filter=param1%20eq%20'test1'%20and%20param2%20eq%20'test2' But how can I use ...
1
vote
1answer
24 views

SP2010 Javascript REST API: updating list item using MERGE and POST

I am trying to use REST API approach in javascript to update a sharepoint list item where I have an id. So I use GET and POST to create records, but per MSDN article it looks like the way to do this ...
0
votes
1answer
8 views

How to amend output of List web service call

I've configured a 'List' and one of its types is 'Hyperlink or Picture'. As I'm populating this List type I'm required to enter the 'Web address' & 'description' : When I access this List ...
2
votes
1answer
14 views

Workflow getting Access denied when calling the rest webservice from subsite

i have following problem. I am using SP 2013 Online and i am trying to access some informations from the sub site, like http://[SPOnlineUrl]/SubSite/_api/web/title. But i will always get the annoying ...
0
votes
0answers
8 views

Create group with REST?

In the CSOM documentation on MSDN (http://msdn.microsoft.com/en-us/library/jj246523.aspx) it looks like the SP.GroupCollection.add method has a REST endpoint: ...
3
votes
1answer
43 views

How to do checkIn major version through REST Sharepoint 2013

Im tryin to do checkin major version through REST API. This url is working just fine and I can do minor version checked in ...
0
votes
0answers
16 views

Searching in entire SharePoint site using REST API URI

I am making a WPF application in which I require to retrieve the search results from the SharePoint site. The search should display results from the entire site including the subsites for that item. ...
0
votes
0answers
26 views

ListData.svc: How to upload attachment?

How does one upload an attachment to a list item using JavaScript/HTL5 file upload API and the ListData.svc API? I know I can do this using managed CSOM but I want to understand the SP 2010 REST API ...
0
votes
1answer
20 views

sharepoint 2010 rest api javascript error: 5009 sys is undefined

I am running into something that I haven't really seen before, and I have been using this approach quite a bit lately for a variety of pages. SharePoint 2010 javascript using REST API to grab data: ...
0
votes
0answers
26 views

Sharepoint 2013 rename folder with REST API

i am trying to rename folder as described here http://msdn.microsoft.com/en-us/library/jj164022%28v=office.15%29.aspx#ListItems > POST ...
0
votes
1answer
32 views

Updating a multiselect field via REST API 2010

Can you update a mulivalue choice field via REST API in SharePoint 2010? If I perform a simple GET I receive: { "d": { "__metadata": { "uri": ...
0
votes
1answer
57 views

Invalid field or parameter requestInfo.url

I am trying to get users blog post (newsfeed blog posts) which are located on same web application as other site collections and show them within a web part by using JavaScript. I use ...
0
votes
1answer
42 views

Clear all values in a multi-value lookup, via REST, SP 2010

Conditions: SP 2010, html/javascript, using REST to read/write to various lists. Im using a jquery multiselect plugin to set a multi-value lookup column. I need the selecting Groups of items, easy ...
0
votes
0answers
36 views

Sharepoint 2013 REST API - Shared Documents / Author Info In one Call?

We are in the process of integrating from Sharepoint 2007 to Sharepoint 2013. We have a java based application using Sharepoint 2007 SOAP based webservices. In Sharepoint 2013 we are using the REST ...
0
votes
0answers
13 views

Sharepoint online BPOS migrated site REST API timeout

I have a company site in Office 365 that was migrated from BPOS. Accessing the REST APIs in Chrome and in the Objective C on this site causes awful delays and time outs. At the same time, another ...
1
vote
2answers
63 views

Listdata.svc via REST refuses to return data

I'm trying to pull down some list data from listdata.svc using the standard method as documented in the msdn: var listUrl = 'http://development.contoso.com/_vti_bin/ListData.svc/Contacts'; $.ajax({ ...
2
votes
0answers
101 views

Query ListData.svc to return document libraries only

I am working on a very simple app on iOS that should basically allow the user to login (got that part working), then list only document libraries and allow user to navigate these and download files. ...
2
votes
0answers
33 views

Updating a wiki page with the REST API

How do you correctly update a SharePoint 2013 wiki page using the REST API? Three basic capabilities I am interested in: Reading an existing page (content only) Updating an existing page Creating a ...
1
vote
1answer
108 views

ODataContentTypeException : Content Type 'application/json;odata=verbose'

I'm trying to create items in a SharePoint lists through the SharePoint REST API in Javascript (with an AJAX call using jQuery), all that in a SharePoint2013-hosted App. But I get this error when I ...
3
votes
0answers
91 views

Get list item “Likes” using JSOM or REST API's?

How can you retrieve a list items "Likes" using the JSOM or REST API's? I know there is the following method: SP.Social.SocialFeedManager.getAllLikers(postId), but in testing I was not successful ...
1
vote
1answer
32 views

Sharepoint 2010: Approve Blogpost with REST

Is there a way to automatically approve Blogposts I created with a .Net Webrequest/REST? I can currently add posts to the Blogs list just fine, but I can't get them to be approved/be published ...
0
votes
1answer
38 views

Export documents from sharepoint to another website

I'm trying to get files and lists from my Sharepoint server showed on another website. How should I do to make a document viewable on the webpage, that is exported from SP2013? I also want to search ...
0
votes
0answers
15 views

Exporting document content from SP2013 to external webapp

How should I do to make a document viewable on a webpage, that is exported from SP2013 document library. A user should be able to, through a webpage send a request to view the content of a specific ...
0
votes
2answers
259 views

How to get the ContentType Field From Task List Using REST API In SharePoint 2013

How can I get the ContentType Field value From Task List Using REST API In SharePoint 2013 ? I tried this code and i got results for ID, Title etc. but for the ContentType field he returned ...
1
vote
1answer
58 views

Adding PublishingPageLayout to file via REST-api

I am adding a file with the REST-API: http://hostname/sites/site/news/_api/Web/GetFolderByServerRelativeUrl('/sites/site/news/Pages')/Files/add(url='new.aspx',overwrite=true) How can I additionally ...
0
votes
0answers
41 views

InfoPath encounters SSL error with RESTful service on SharePoint

My settings are: Excel file on SharePoint documents library. InfoPath form on SharePoint as a content type that makes RESTful call to Excel file and get data from its ranges. I don't use the data ...
1
vote
0answers
42 views

Find all lists that look up a Contacts list

I have a Contacts list in my site collection, and it is used in lookup columns by multiple other lists. Is there an easy way to get all the lists that have a lookup column pointing to the Contacts ...
2
votes
1answer
212 views

REST API update a muli-value user field

I have created a custom list and added a multi-value user field (no groups) called AssignedTo to the list's definition. Using the SharePoint interface I added an item with a value for Title and ...
3
votes
1answer
136 views

Updating a Property w/ 2013 REST Api

I have a sharepoint hosted app that is succesfully able to add Read and Create files on the Host site (using the REST Api and SP.RequestExecutor). Now I am trying to figure out how to update ...
2
votes
1answer
394 views

How can I authenticate SharePoint REST calls from JavaScript?

I have been banging my head against a wall on this problem for weeks now Warning and Disclaimer .. I have very little JavaScript experience when it comes to REST / Web Services I have an on ...
2
votes
2answers
137 views

How to get file content from sharepoint 2010 server?

TeamSiteDataContext context = new TeamSiteDataContext(new Uri("http://server/_vti_bin/ListData.svc")); context.Credentials = new NetworkCredential("username", "password"); var f = ...
1
vote
1answer
70 views

ListData.svc REST and URL Encoding of Field 'Parts Released?'

I have a field with the display name Parts Released? but I cannot seem to figure out how to encode the field name. I have tried Parts Released%3f but regardless of what I try I get a 400 Bad Request ...
1
vote
2answers
260 views

Error while pdating Master Page through JavaScript Client Object Model using SP 2013 App

I have created a Site Collection in SharePoint 2013 online. In this site I am trying to update Master Page through JavaScript Client Object Model. My JQuery scripts are able to change the Site Master ...
1
vote
1answer
377 views

Setting Search Center URL in SharePoint 2013 using Javascript CSOM

In SharePoint 2013, I am trying to access Search object through JavaScript CSOM. I want to know the object which can give me the access to Search Settings under Site Settings. I tried looking under ...
11
votes
2answers
287 views

REST and CSOM much slower than List Web Service

lists.asmx = Web Service listdata.svc = REST API client.svc = CSOM Using JavaScript to query a list using the 3 available APIs, I'm finding lists.asmx responds much faster than listdata.svc or ...
3
votes
2answers
1k views

SharePoint 2013 Call the REST API from SharePoint hosted app

I've successfully deployed a SharePoint hosted app to office 365 and my local on premise installation. All the app aims to do is call the REST API for the user profile manager to get the profile ...
3
votes
1answer
58 views

SPS2SAppResourcePolicyException on SharePoint 2013

I have a SharePoint 2013 Provider Hosted App (on premise). When I try to make a social rest call I get the following error code: -2146232832, ...
1
vote
0answers
44 views

GetUserEffectivePermissionInfo for the 2013 Rest API

Does anyone know if there is a client-side (preferably REST) equivalent to SPSecurableObject.GetUserEffectivePermissionInfo(username)??
0
votes
0answers
56 views

Search Rest Api does not retrun documents

Following query does not return any documents at all but when I search for same text directly from the search box it returns all documents which contain a word that starts with test. ...
2
votes
3answers
570 views

Can't upload a non-text file to SharePoint App via REST API

I am using the following REST code to add a file as an attachment to a SharePoint 2013 list item. <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <SharePoint:ScriptLink ...
2
votes
2answers
190 views

Query SP2013 Managed metadata term store

I was wondering if it is possible to query the Term Store via the REST API or Javascript Client Object Model in SP2013. I can't quite seem to work out the naming scheme for the REST API to discover ...
0
votes
1answer
114 views

How to use LINQPad with SharePoint 2013 REST service (/_api)?

It is working just fine with /_vti_bin/ListData.svc, but I can't create connection for /_api URI.
1
vote
1answer
289 views

The field 'EventDate' of type 'DateTime' cannot be used in the query filter expression

I am trying to filter standard Calendar events via SharePoint web api and my query looks like this: /_api/web/lists/getbytitle('calendar')/items?$filter=( EventDate ge ...
1
vote
0answers
93 views

Getting column information from a sharepoint 2010 list

I'm trying to figure out how i can get information about a column in a Sharepoint List, like what type of column it is (single line, number, date etc...) and whatever additional column info that ...
0
votes
0answers
87 views

Sharepoint integration endpoint (WCF)

This is an architectural question: I want to create an endpoint for Sharepoint 2010 for outer systems. Its basic functionality is that it is supposed to broadcast info about changes done to ...
2
votes
0answers
102 views

I cannot get “orderby” to work in SPS 2010 listdata.svc REST query

I can get the return list from this query, but if i add the orderby syntax, it just ignores it (no error, just doesn't sort the return set). ...
1
vote
1answer
207 views

ListData.svc with complex filters, Internet Explorer, 400 Bad HTTP request,

I have a problem understanding how ListData.svc can be debugged using IE8 and IE9. I have a URL that looks like this: ...
-1
votes
1answer
279 views

Why not use Sharepoint 2013 as just a backend for REST / CSOM clients?

This might sound a bit extreme, but now that REST / CSOM API's are more fully featured, why not just write web apps in whatever framework you're comfortable with and utilize the REST / CSOM API's ...
0
votes
1answer
98 views

Consuming On-Prem SQL Data from SharePoint 2013 Online (Office 365)

At a high level, What's the recommended Development model if we want to consume local (On-Prem) SQL data from Office 365 SharePoint 2013 Cloud application? Say we have a custom SharePoint List Form ...

1 2