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
0answers
196 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
1answer
629 views

Attempting to get data from sharepoint 2013 using C# results in HTTP 500

HttpWebRequest wr = (HttpWebRequest)HttpWebRequest.Create(new Uri("https://sharepointurl/_api/lists/")); wr.Credentials = CredentialCache.DefaultNetworkCredentials; var v = ...
1
vote
0answers
103 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 ...
0
votes
0answers
64 views

Having trouble setting up a secure architecture using the SharePoint App model and an external REST server

We have a situation that I am having a very hard time finding information on. We need to create an app in SharePoint 2013 that uses an external data source. It's an ODBC source accessing a non-MS ...
2
votes
1answer
364 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 ...
1
vote
1answer
2k views

Properties when uploading Files using REST in SP 2013

After a lot of research I finally got uploads via REST working in SharePoint 2013. But I would like to provide additional properties to the Add Function like Title. This code works so far but the only ...
0
votes
0answers
215 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
2answers
757 views

SharePoint 2010 REST field names capitalization rules

I have a column called "myColumn". When working with that column in SharePoint REST services I must use "MyColumn" instead (note the capitalized leading 'M'). Likewise, if my column name has spaces, ...
0
votes
1answer
111 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 ...
2
votes
1answer
1k views

How do I query the OData/REST API in 2013 effectively using JavaScript?

I want to use the improved OData/REST API in Sharepoint 2013 but it's hard to find good examples. As I see it, the OData-endpoint is of little use without a dedicated OData client library. With plain ...
0
votes
1answer
71 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.
0
votes
1answer
319 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
464 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 ...
0
votes
1answer
176 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?
3
votes
1answer
492 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) ...
2
votes
1answer
339 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
190 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
139 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: ...
4
votes
1answer
2k 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 ...
4
votes
2answers
559 views

Create Page using REST API

I have spent two days trying to create a page with a specific Content Type in Pages list using REST API. It goes into error handler and returns ...
2
votes
1answer
1k 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
147 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 ...
4
votes
1answer
134 views

sharepoint 2010: javascript rest api not returning full decimal values, truncating to tenth

I have a list with a several columns that have number values to fourth decimal place, and I am using javascript com to get data via rest GET request and following simple callback function ...
2
votes
1answer
824 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 ...
0
votes
2answers
369 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
117 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 ...
1
vote
1answer
400 views

REST API In SharePoint 2013 Uploading and Setting a Property

I am currently in the process of trying to upload a file from using SharePoint 2013 Restful Service as well as setting the fields in the same document library at the same time. I have had success ...
0
votes
1answer
137 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 ...
1
vote
1answer
412 views

Can a sharepoint hosted app get access to data in another site collection?

Can a sharepoint hosted app get access to data in another site collection? I'm getting a windows login dialog when accessing data in another site collection (other than the host webs site ...
0
votes
3answers
1k 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
3answers
993 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 ...
4
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
109 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
2answers
424 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
773 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
843 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
539 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
3k 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 ...
5
votes
1answer
338 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
348 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
605 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
186 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
229 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
250 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
1answer
587 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
2answers
731 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
392 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
1k 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 ...