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
3answers
2k views

Paging using REST/OData with SP 2013

I'm trying to do paging on a document library (also trying this on a list) with SP 2013 using REST/OData but I can't seem to get the skipping of items working. Here are some examples of URLs that I'm ...
0
votes
0answers
42 views

REST/OData SharePoint 2013 Security

I wanted to know is ODATA API is secure from injection. I am asking this question as I am using ODATA extensively on my Internet facing website. Kindly give me experience answer and also give me some ...
0
votes
0answers
39 views

Accessing search API in different domain from a sharepoint-hosted app using REST

I am trying to access the profile search which is in a different domain from my APP. For some reason it doesn't work. var executorTest = new SP.RequestExecutor(searchWebUrl); var urlTest = ...
2
votes
2answers
258 views

Reading a list using REST services

I have a list named as Students and it has 3 Columns named - Name, Branch, Age When I try to read them using the REST API with the url: ...
0
votes
1answer
523 views

Using REST API to get Site Groups in SP 2013

I'm trying to use the REST API in SharePoint 2013 to get the site groups. I've been using this link for a little help... http://msdn.microsoft.com/en-us/library/jj245927.aspx It's to do it with the ...
0
votes
2answers
112 views

Reading a list in javascript

I have a list which i want to fetch at the front end using javascript based on some user inputs. The list has 3 columns - 'Name', 'Branch' and 'Age', and the list is named 'Students'. Now if the ...
2
votes
2answers
860 views

Create list item in sharepoint list using REST API using C#

I have a requirement to create list item in a sharepoint online list using the REST API and c#. How to achieve this. Most of the article show using REST API in jquery and Javascript but I have a ...
0
votes
1answer
520 views

How do I update a list item using REST and Data.js?

I want to write a simple SP hosted app that edits a single list item in a list in the app web. Getting the list item collection is fine. Then I want to pass the result to a function that changes the ...
0
votes
0answers
41 views

sharepoint app user's self-service registration and authentication

I need to develop an application where users register and authenticate to a website in a self-service manner,and the application is a provider hosted application in Sharepoint 2013. Any ideas of how ...
3
votes
2answers
295 views

Updating Lookup Values with the REST API

Is it possible to update a List Item's Lookup Field Value via the Rest API? I can retrieve the field value if I use $select and $expand, but I can't find documentation anywhere that explains how to ...
0
votes
0answers
146 views

RoleAssignments with REST API and oAuth

I'm attempting to use the REST API to migrate files from our users' personal sharepoint sites (e.g. http://organization-my.sharepoint.com/personal/bob@organization.onmicrosoft.com). The account which ...
1
vote
1answer
133 views

RefinementResults not showing using Search 2013 API with anonymous connection

First of all, I do get results even with selectproperties but RefinementResults give me a null value. Does anyone have a solution for it? Url used is: ...
0
votes
1answer
170 views

SharePoint Rest Api Filter not working and restrict to a site collection

The rest query is as follows, I want to get most viewed pages. I have used ViewsLifeTime property. This query returns some pages (unwanted) which thier ViewsLifeTime is null. ...
2
votes
1answer
702 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 ...
1
vote
1answer
178 views

get all joined community sites under current site collection in search results/REST search/CSOM

I've list of community sites in a site collection, and I have a publishing page on my site collection with a content editor WebPart on it. I've to show list of joined community sites on this webpart ...
1
vote
1answer
286 views

Authenticate external systems against SharePoint REST services

I want to make the SharePoint(on prem) REST services available for a number of other applications. The other applications are built on different platforms, Microsoft, Java, etc. Applications should ...
1
vote
1answer
459 views

SharePoint 2013 Search Rest API POST request format

I am hoping to save someone some time as I couldn't find anyone talking about this anywhere. I am looking at the SharePoint 2013 Search Rest API documentation and decided to switch my GET calls to ...
0
votes
1answer
152 views

managed property with REST api results Xml

I am using Managed Property in my application, it's a custom column in my site collection, I could make a managed property and link this to the crawled property and everything is ok. Now in my ...
0
votes
1answer
141 views

Changing the Publishing New Page Default Settings using JSOM SharePoint 2013

I have a task where I need to Set the New Page Default Settings as you do at "/_layouts/15/AreaTemplateSettings.aspx" but I need to do this via JSOM. Does anyone know how to do this? The New Page ...
2
votes
1answer
51 views

Integrate SharePoint Calendar in hybrid app

I am trying to have a calendar feature in a hybrid mobile application. One company has a SharePoint site, whose calendar events i want to sync to the mobile app. So far through REST i can see in a ...
2
votes
1answer
214 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
99 views

Help using Excel REST

Posted a question yesterday and got a great suggestion to use Excel REST. I've looked at the documentation but had a basic question about how to apply it. I've got 3 workbooks in a document library ...
0
votes
0answers
137 views

using Rest to update a multi choice taxonomy field in a list

Ive been experimenting with the new Rest services in SP2013 and ive come across a problem. It seems that you cant create a new list item with a taxonomy field that is set as multi choice. Seems fine ...
1
vote
0answers
213 views

GetPropertiesFor ajax call from Sharepoint 2013 app

I tried the below code with GetMyProperties in a SharePoint Hosted app and it works, but the following code gives me a bad request url = appweburl + ...
0
votes
1answer
35 views

SOAP - Remaining free space

Is there any way how to find out how much free space is remaing in the whole Sharepoint site? I need to find it out by SOAP interface. Thank you for your comments.
7
votes
3answers
2k views

How to avoid _metadata in a REST response (listData.svc)

I am pulling data from a SharePoint list with listData.svc, and _metadata represent more than half of the response content. Is there a way to return list fields only, without the metadata? Below an ...
0
votes
0answers
58 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 ...
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 ...
3
votes
2answers
500 views

Why do I have to use POST for REST queries?

I am trying to understand the logic with the SharePoint client.svc (_api) Web service. For some queries, for example List GetItems, or search queries, SharePoint requires the use of POST in ajax ...
2
votes
1answer
444 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 ...
1
vote
1answer
647 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 ...
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 ...
0
votes
1answer
99 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 ...
4
votes
1answer
121 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
3answers
532 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
0answers
26 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 ...
1
vote
1answer
268 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 ...
2
votes
2answers
288 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
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
270 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 ...
0
votes
1answer
1k 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 ...
1
vote
0answers
128 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
315 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 ...
6
votes
2answers
515 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 ...
0
votes
0answers
94 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
1answer
194 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. ...
0
votes
0answers
73 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 ...
2
votes
3answers
345 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
67 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
626 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?