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
vote
2answers
627 views

How to get specific fields in json response from REST api of sharepoint 2010?

I have used angularjs to query for data through listData.svc. A json response is returned. May someone suggest how to get the value of a specific field with javascript?
1
vote
1answer
589 views

Sharepoint 2013 - REST api - downloading file returns incorrect Content-Type

I made the following request to download a file from Sharepoint 2013 using REST api: GET ...
2
votes
1answer
560 views

Uploading a file to Sharepoint 2013 (Skydrive Pro) using a C# desktop app

I am trying to write a C# desktop app (a simple console application for now) using which I can upload a file to our Skydrive Pro instance (which is accessible using the same API's as that of ...
1
vote
0answers
161 views

PublishingPageImage Field is missing when get data through Rest Api to Pages Lib 2013

I want to get PublishingPageImagefield value on REST API method on Pages library with below script. executor = new SP.RequestExecutor(appwebUrl); executor.executeAsync({ url: appwebUrl + ...
1
vote
0answers
82 views

Return a Single Entity from SharePoint OData Service

I've created a custom OData service in SharePoint 2010 to return a list of entities representing subsites, however I'd also like to be able to return the root. To this end, I've created a function to ...
1
vote
2answers
794 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
1answer
255 views

sourceid ignored on search REST call (SharePoint 2013)

When I submit a search REST call, I am providing the sourceid of the list I want to search (an asset library). The results returned from the query are not limited to the items in the list, rather ...
0
votes
0answers
172 views

excel odata connection to sharepoint online custom list - How do I return all rows in an SPO 2013 to excel 2013

How do I return all rows in an SPO 2013 list to excel 2013? I'm trying other sources > odata and can get some things, but not all rows. ...
0
votes
1answer
95 views

SPO CSOM Development without installing SharePoint 2013 on my Development Client or even On-Prem

We have this simple requirement. Using Data in an existing SharePoint Custom List on SPO 2013. We need to develop a simple wildcard/partial string search across mutiple columns and display matching ...
0
votes
1answer
58 views

How do I enable includeExceptionDetailInFaults for REST (ListData.svc)

I see this answer: Custom WCF service - includeExceptionDetailInFaults but when I attempt to do that it complains that the "Name" attribute of the "behavior" element is null.
5
votes
2answers
629 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 ...
0
votes
1answer
266 views

Javascript Object Model REST/AJAX: does callback/resulting function have access to the id of newly created item

so if I use rest like method to create a list item in javascript, can I get the id of the newly created item in the callback/result function? function createNewRecord(url, body, callback) { ...
1
vote
2answers
357 views

Field level permission development

I am aware that there already are some questions regarding on how to implement field level permissions customization in SharePoint, such as: SP 2010: column permission Permissions for List or ...
3
votes
1answer
442 views

How to make a request to SharePoint 2013 REST service from code that runs inside SharePoint server (NOT from App/External code)

I have a page hosted in _layouts in SharePoint 2013. I want to make REST call to SharePoint REST api from this page using current user credentials. I don't want to do it from client-side (jquery etc) ...
0
votes
1answer
96 views

Getting the properties of an item through web services

Is it possible to get the SPListItem.Properties property of an item through one of the out-of-the-box API web services in SP 2013?
1
vote
1answer
253 views

Update taxonomy field value with REST

I'm getting the following error when trying to update a taxonomy field value via REST api: { "error": { "code": "-1, Microsoft.SharePoint.Client.ClientServiceException", "message": { ...
1
vote
0answers
144 views

Getting survey list settings (questions, possible answers) via REST

I need to custom render the survey on the client side so I need to be able to get it's settings via a REST (or web service) call. I tried calling Web/Lists(listguid)/Fields and I get all the fields ...
1
vote
1answer
108 views

List of documents via REST - Path interpretation

This seems like a basic question but I have been going around in circles. At this URL, our customer has a series of PDFs that I want to access via REST: ...
3
votes
1answer
1k views

Create multiple items via REST API

I'm looking to bulk create items to decrease the amount of calls being made in my application. In this instance, I'm working on a calendar control that has different needs than what SharePoint OOTB ...
2
votes
1answer
725 views

Difference between _layouts and _vti_bin in service SVC deployment

I'm fighting with Services deployment under the SharePoint infrastructure. It happens that I spent a lot of time trying to configure a REST SharePoint 2010 web service under the ISAPI (_vti_bin) ...
1
vote
1answer
98 views

Sharepoint as REST API Server

I am going to rewrite an application previously developed using Sharepoint 2007. I am not well versed with Sharepoint and the time allotted for the project is very limited. The client wants to keep ...
0
votes
2answers
332 views

How to configure a SVC Web Service MultipleBaseAddressWebServiceHostFactory disabling anonymous users

I developed a SVC on SharePoint 2010 that uses MultipleBaseAddressWebServiceHostFactory. Inside of some methods I need to know who's the caller. I find that I have two way to get it: ...
1
vote
0answers
104 views

executeAsync strange behavior - sharepoint rest services

I'm using Sharepoint Rest services to update List Items. To do the update, I'm using the function executeAsync from the SP.RequestExecutor object. The code was working fine, but while I was testing it ...
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 ...
0
votes
2answers
662 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: ...
0
votes
1answer
112 views

How to use REST with the search service?

I am currently using SP2010 and spservices to make SOAP requests for search. I am doing this client sided using javascript/jquery . But now I want to use REST and still on client side. This is my SOAP ...
2
votes
1answer
864 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 ...
2
votes
2answers
962 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 ...
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
269 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
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. ...
5
votes
1answer
377 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 ...
1
vote
1answer
189 views

How can I check files In using OData for SharePoint 2010?

I am uploading files to SharePoint 2010 following the answer here: Uploading files to Document Libraries using the REST API The issue is that all of the files are set as checked out due to some ...
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 ...
3
votes
1answer
426 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
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
298 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
423 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
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
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 ...
1
vote
2answers
480 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
2answers
633 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({ ...
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
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 ...