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

0
votes
2answers
670 views

REST service and JSON

How can I retrieve via REST service in SharePoint item column values in JSON: This is my snippet: $.ajax({ url: '/_api/web/lists/getbytitle("my list")/items/getbyid(3), type: "GET", header: ...
1
vote
2answers
795 views

Get all users filtering by custom property using sharepoint search api

I need get all users with a custom property using sharepoint search api, this custom property already mapped in sharepoint. I'm using this url, and this retrieves all users ...
2
votes
2answers
2k views

Sharepoint 2013 REST POST: How to add a list item with 'people and group', 'choice,' and 'Url' fields?

I am trying to create a form for a Sharepoint Hosted app that will allow users to request a teamsite. The form writes to a list that is contained in the Sharepoint site collection, from which a timer ...
1
vote
1answer
86 views

Client Side Error Reporting and Instrumentation in SharePoint 2010/2013

I do a large amount of client side development using SharePoint as the back end. In most cases I rely heavily on the REST API and JSOM. I tend not to use the SharePoint masterpages and deploy my ...
4
votes
2answers
1k views

SP2010 REST API from Javascript: how to set multiple fields to filter on in the URL

weird but i can't figure this out or find a solution anywhere.... I want to filter on two values on a GET in REST URL from javascript. So since this is from ECMA I am just using filtering in the ...
0
votes
1answer
270 views

SharePoint 2013 RESTful calls returning 404 not found

Using the Get started with the SharePoint 2013 REST service, I am trying to access the following internal SharePoint site: http://mycs.nce.dirc.aon/sites/SuperSecret/default.aspx I have tried sending ...
1
vote
1answer
648 views

REST Api for get all document libraries who has full control of current user SharePoint 2013

I want to get all the document libraries in which current user has full control using rest api. it seems that we can check using effectiveBasePermissions. I have used below script : function ...
2
votes
1answer
710 views

How to call SharePoint 2013 REST API from HTML page

I can get the SharePoint 2013 list/libraries information using REST API, this is working fine from a SharePoint App. If I want to retrieve the same information from a HTML page, I am getting error ...
5
votes
1answer
381 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 ...
3
votes
1answer
2k 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
13 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
218 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 ...
1
vote
1answer
238 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
427 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 ...
1
vote
1answer
161 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. ...
1
vote
0answers
182 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
226 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
299 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
425 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": ...
1
vote
1answer
515 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
278 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 ...
1
vote
0answers
852 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
58 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
635 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({ ...
4
votes
1answer
193 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. ...
3
votes
1answer
267 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
1k 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 ...
6
votes
2answers
518 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
62 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
69 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 ...
1
vote
0answers
33 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 ...
1
vote
2answers
1k 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 ...
2
votes
1answer
152 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
60 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
61 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
869 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 ...
5
votes
2answers
632 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 ...
12
votes
4answers
5k 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
506 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
2answers
162 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
481 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 ...
2
votes
2answers
968 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 ...
13
votes
2answers
600 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 ...
4
votes
2answers
2k 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
82 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
82 views

GetUserEffectivePermissionInfo for the 2013 Rest API

Does anyone know if there is a client-side (preferably REST) equivalent to SPSecurableObject.GetUserEffectivePermissionInfo(username)??
5
votes
3answers
2k 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 ...
3
votes
3answers
1k 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 ...
1
vote
1answer
253 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.
2
votes
1answer
1k 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 ...