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

2
votes
1answer
645 views

Post to NewsFeed using SharePoint 2013 REST services from a workflow with POST method

In SharePoint 2013, workflows we can do a web service call. With this feature we can use SharePoint REST services within the workflow. I want to post to the current users newsfeed from a workflow by ...
0
votes
0answers
28 views

Deploy service on SharePoint online

I have SharePoint online site for which I want to work with list and libraries data on my windows 8 app. I want to write some methods (just like webservice method) to use them for add, edit and delete ...
0
votes
2answers
841 views

REST insert new task item

I successfully inserting item in task list, but with only title, like this: string message = "'Title': 'NewTitle2 updated'" string json = "{ '__metadata': { 'type': 'SP.Data.MyTasksListItem' }," + ...
2
votes
1answer
407 views

How do I query of the current user permissions using REST Call on doesUserHavePermissions method?

I would like to find out whether the current user has "Manage Lists" permission in the site or not. I could not find any example to perform such a query using REST API Calls. The endpoint based on ...
0
votes
0answers
52 views

Page to Search for matching SharePoint Online 2013 Sites and Subsites across the entire o365 tenant. Language and design options?

I'd like to have a Page on SPO that enables my o365 site admin user to search all SPO site collections and sub sites by a string in the URL, Title and Home Page text. What's the best ...
0
votes
1answer
116 views

What are the big enhancements in the 2013 SharePoint REST/Client API? [closed]

The MSDN mentions there are some enhancements in the REST/Client API, but the things it lists seem to already be in the 2010 APIs. Can someone please elaborate on the new features that are NEW In ...
0
votes
2answers
379 views

SharePoint Online: Getting Current User Information

What is the best way to get the current users information. With the UserProfileService unavailable in SharePoint Online what would be the best method for getting a users information. Client was ...
3
votes
1answer
339 views

SharePoint REST POST to upload file produces corrupted or empty file

I've got this jquery/REST process that I thought was uploading a PDF file to SPO 2013 Document library, but it's only producing an empty or corrupt. Anybody know why? function ...
0
votes
2answers
919 views

Access and USE list data across site collections

I have two site collections in SharePoint Online environment (Office 365 dedicated). Site A: https://SharePoint.com/sites/SiteA (Data Source - Read Only Access) Site B: ...
1
vote
0answers
157 views

using sharepoint OOTB DragDrop.js library in Custom webpart

I implemented drag and drop file upload functionality with using REST api in my webpart . But i found an OOTB sharepoint dragdrop.js library which has numerous methods to create drag drop control. ...
2
votes
1answer
449 views

SharePoint 2013 REST - Possible to Upload accross Site collections with embeded code or NAPA? SP.AppContextSite 403

Has anybody been able to REST Upload cross site/domain of a file to a document Library with REST on SPO 2013 thru embedded page code or NAPA? Wondering how app security is set on the TargetSite? I ...
2
votes
2answers
354 views

Nested REST or CAML code to list “NOT-IN” List Join Logic. Possible?

I'm thinking this is possible in SPO 2013? Two Custom Lists. Submitted and Universe (common field employee number) One qualifier condition that applies to both .. dept = Sales I need to list ...
0
votes
2answers
2k views

REST post with metadata column?

I have a jquery script that uploads a file to document library. I'm trying to set a choice column in the same call, but can't seem to get it to work. The upload is working, but Col1 is a choice ...
0
votes
0answers
145 views

Create Field and Content Type in Host Web

I have tried to provision fields and contenttypes to the hostweb but with no success. This is the code to provision the field: $.ajax( { url: appweburl + ...
0
votes
0answers
113 views

Button to delete File from SharePoint Online Document Library - with NAPA/JQuery/REST

Anybody got some sample JQuery/REST code in NAPA to delete a Document library file on SharePoint Online? Ideally, to delete a file on a doc library on another site collection (NOT the NAPA apps host ...
0
votes
1answer
247 views

SharePoint Online o365 JSON data of list of parent site from NAPA? GetbyTitle

Why can't I call REST of the apps parent site from NAPA? I need data from a list on the same level as the app. This chokes. And if I use the Apps URL, it can't find the list with GetByTitle. ...
2
votes
3answers
552 views

How to convert date format in json response to string format in sharepoint?

I have set a column to column type "Date" and the json response from listData.svc for this column is in this format "Created": "/Date(1377683175000)/" , can someone suggest how to convert this format ...
0
votes
0answers
84 views

Unspecified error on REST Service Connection in Designer

I'm using Sharepoint Designer 2010 to query a REST API. I want to embed the results in a data view from my datasource (Insert -> Dataview -> REST), but each time I try to insert it into my webpage I ...
1
vote
2answers
1k 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?
2
votes
1answer
704 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
207 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
657 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
110 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
402 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
2answers
819 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
114 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
74 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
330 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
487 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
198 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
500 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
363 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
198 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
146 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
637 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
159 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
136 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 ...
3
votes
1answer
883 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
377 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
121 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
416 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
147 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
428 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
2k 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
1k 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 ...