The REST (Representational State Transfer) interface in 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 that can be addressed by remote URLs.

learn more… | top users | synonyms (1)

3
votes
4answers
3k views

Checked null with dateTime in REST API SharePoint

I want to get all article pages which Article Date is not null. so I have try to do by this way. var ArticlePageContentTypeID = ...
0
votes
0answers
15 views

Anonymously access SharePoint 2013 List using REST API with Default Credentials C#

I want to get List from Sharepoint using mobile devices therefore I am using REST API with DefaultCredentials,I have already given Read rights to my List but I am getting The remote server returned ...
0
votes
0answers
4 views

Filter managed property with REST api

I'm using Oracle Database and table consist of Title,Description,Language columns. Using BCS and creating BDCM file, I'm able to get all the data from Oracle Database. I could make managed properties ...
0
votes
1answer
12 views

Query remote service using rest, unblock intranet calls in Sharepoint Online

I've been trying to query a remote service using it's REST API, by following this guide This guide pretty much contains the complete code with a different url as it is now. This step-by-step guide ...
3
votes
2answers
63 views

Character escaping in CAML query (REST call)

I use JS to create a CAML query. When it is generated, it looks like this: @v1 = {"ViewXml":"<View Scope='RecursiveAll'><ViewFields><FieldRef Name='ID'/><FieldRef ...
0
votes
0answers
15 views

How to have a list auto update once a week and then email the people in the list?

There is a meeting that occurs every week, but has a rotating list of members. So one person from each department goes one week, and the next week it is a different person from each department, and so ...
0
votes
0answers
14 views

Microsoft Sharepoint SPException error when using Email API

I am trying to use the SharePoint 2013 Email API and receiving a Microsoft SharePoint SPException code: -2130575251 The security validation for this page is invalid and might be corrupted... ...
0
votes
1answer
26 views

REST GET using SharePoint hosted app

I've been testing an outgoing REST GET request (towards the other world, not towards SharePoint). When I'm using this code in pure JavaScript/HTML it works just fine. But when using it in my ...
0
votes
1answer
27 views

Default App Permission Scope

I've created a list that creates subsites through the REST API that uses a project site template. The site template i'm using has workflows that talk back to the main site using the REST API. The ...
1
vote
1answer
46 views

SP2010 REST query does not return Author info

I am starting to make use of REST queries in our SharePoint 2010 environment. One thing that has been consistent is that the query never returns the "Created By" column value, internally known as the ...
2
votes
1answer
487 views

How to authenticate user in SharePoint Online using rest api

I have a website on SharePoint Online and a website on SharePoint On-premise. From my On-premise website i want to create a new list on my SharePoint Online site. To authenticate I used the ...
1
vote
2answers
37 views

How to determine which field is lookup field via REST API

I have to load data from various lists with various views via SharePoint 2013 REST API. I have no knowledge about fields that are configured in views (general fields, custom fields, lookup fields, ...
0
votes
1answer
20 views

Odata orderby Calculated Field

Path is a calculated field in Menu list of my sharepoint application. It concatenates two numbers into a path like below: 1/2, 1/3, 2/4, 2/2 I want to sort my List based on this field but get the ...
0
votes
0answers
232 views

Get number of new emails from Microsoft Exchange server in SharePoint

We need to create widget that displays number of new/unread emails of current logged SharePoint user. Preferably using JSOM/Rest API for Javascript We've done the following: Link SharePoint to ...
0
votes
0answers
33 views

jquery datatabes deferloading response is of text/html; charset=utf-8 content type instead of JSON

I am using SharePoint Search API to search SharePoint lists and using jquery datatables to display the data. In my code I have set the row limit to 100. So getting the first 100 items/results is fine ...
1
vote
1answer
642 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 ...
3
votes
2answers
102 views

REST API to fetch List/LIbrary URL's from subsites

I am working on a requirement to display all sub sites and list/Libraries inside sub site using REST. I am able to fetch Sub sites and List/Libraries but i am not able to fetch List/Library Url's. Can ...
8
votes
3answers
2k 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
1answer
47 views

How to get user info by ID for SharePoint 2010 using REST?

This is for SharePoint 2010. I am using REST to query lists, but the "Created By" and "Modified By" columns are returning the user's numeric ID. I am wanting to get the user's fullname and email ...
2
votes
0answers
26 views

Cannot create listitem REST API in SP 2013 with contributes rights

I have an issue with our Travel Tool based on SharePoint 2013. This tool consists of different Content Types - all in their specific lists (travel requests, train rides, flights, etc.). There are two ...
1
vote
1answer
50 views

sharepoint rest api, serverRelativeUrl, extended properties on all files

Is there a way to write the service call in example A to get the file properties in example B? Currently the folder isn't a named list. If it were would that help? This question is similar to: Is it ...
2
votes
1answer
43 views

Upload multiple files using rest api

I am trying to write code to upload multiple files using SP2013 REST API. I referred the MSDN article "upload single file using REST API". But I am having problem when I modified the code to upload ...
0
votes
1answer
25 views

getFileByServerRelativeURL fails when the filename contains a quote

I'm using the SharePoint online REST API. Things generally work fine, but I'm failing to figure out how to get information about a file (document) that contains a quote in its name. Here's my REST ...
0
votes
2answers
1k views

Office 365 SharePoint Online 2013 REST with SoapUI

Im trying to run Office 365 SharePoint Online REST API calls. I get an error message: <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> ...
1
vote
1answer
656 views

SharePoint 2013 Rest API OData Query

I am calling rest uri from jQuery ajax with filter string comparison startswith as below ...
1
vote
1answer
26 views

Use REST API to get the current site collection

I have a list for links in my footer that I'm using REST to populate. $.ajax({ url: "/_api/web/lists/GetByTitle('FooterLinks')/items", type: "GET", headers: { "accept": ...
1
vote
1answer
25 views

RestAPI url for getting all wiki pages in a library

I am looking for the url syntax to get all the wiki pages in a SharePoint 2013 wiki library. I have tried numerous syntax's to no avail. for example, to get list items I use: ...
3
votes
1answer
45 views

Call entire User Information List from REST api

I'm using a REST api to get data from the User Information List using https://servername/sitename/_api/Web/SiteUserInfoList/items This works great but the list stops after 121 entries - ending ...
1
vote
2answers
500 views

SharePoint Hosted App: Using Cross Domain call to access list items on Host Web

I can use Chrome Advanced REST tools to test out a get list items request on the host web http://mydev/records/_api/Web/Lists/GetByTitle('Uber Documents')/Items?$select=Title Ok now I want to use a ...
1
vote
0answers
28 views

Get uploaded document id using JQuery

I need to get document ID of newly uploaded document using JQuery, any help highly be appreciated. I'm trying below code which is not working error, 404 not found. function getListData() { var ...
2
votes
1answer
2k 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
1answer
70 views

Cannot run ajax javascript code

I try to run the below javascript code but it does not work. (it does not return the alert pop up) I put the url string into a browser, it return the item info. So, I assume the url is fine. And ...
0
votes
0answers
12 views

Sharepoint Service access from android applciation

as new to share point 2013, I wod like to ask few things to et myself ready for development. From my android application, what are the ways to to call services to add/update/delete items in list? ...
-2
votes
0answers
29 views

What is Sharepoint REST service? [closed]

Please give clear understanding for following URL _vti_bin/Lists.asmx _vti_bin/listdata.svc _api/web/lists
1
vote
3answers
2k views

Force users to enter document metadata before creating a new document in Sharepoint 2013 document library?

First off, I'm new to Sharepoint. With that out of the way, I have a document library based on a custom content type. When working with Sharepoint document libraries some users find the document info ...
4
votes
1answer
3k views

How to get Social Comment in SharePoint 2013 using JavaScript (REST) or Search?

I have added a Noteboard Web Part in my page. Now user is adding comments in Noteboard Web Part. I want those comments count. How can I get it using JavaScript? I am using SharePoint 2013. Is there ...
0
votes
0answers
13 views

Using SPD Workflow with non-standard JSON data

Personally, I think I'm not going to be able to use SPD workflows to do what I want here but I figured I might as well ask. What I'm doing Using a SharePoint designer workflow to call a REST web ...
0
votes
0answers
8 views

Create link that will create a content type based on document set - SP2010

I've extended the basic document set content type to include a couple of extra columns. Let's call it "CaseFile". I want to be able to create a link that allows the user to kick off the creation of ...
0
votes
1answer
28 views

SharePoint rest interface is slow for a particular list

I have about 10 list in my SharePoint site. I am using REST to query some data. However, I have got an irritating issue. I have lists called, Applications(3000 Items), Candidates(30000 Items), ...
0
votes
0answers
15 views

Sharepoint Online: How do I find out the external sharing configuration for my tenant through REST API?

How do I know what the External sharing configuration is for my tenant? I need to know if there is any REST API that would give me this information? The information shown here ...
0
votes
0answers
9 views

How to modify InfoPath REST url without knowing the actual url

I am using REST data sources with my InfoPath 2013 form and it works well. My datasources are on an external server so I saved my data sources as data connection files which makes it easy to add those ...
0
votes
1answer
40 views

Get site title and display it search results

I am using display templates to search specific items based on content type and display them in the root site. One of the requirements is to display the site title besides the item. Searching on the ...
0
votes
2answers
40 views

“Cross-Origin Request Blocked” - how to bypass for REST queries

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource" I'm trying to use REST api to query a library to find all the file names in it so that I can populate a ...
0
votes
1answer
45 views

How to get SP 2013 site taxonomy data in SP 2010 site [JSOM/REST]

I am working on a javascript function for SP 2010 site where i need to fetch some data (Taxonomy) from a 2013 SharePoint site. Is there any way that i can get the SP 2013 site taxonomy data in SP 2010 ...
0
votes
0answers
10 views

TDD with SharePoint Designer

I have an AngularJS single page app implementation in shaerpoint designer. I need to use karma/jasmine to automate unit and e2e testing. How do I get on with it?
1
vote
1answer
54 views

Does Sharepoint/Office365/OneDrive change logs REST API provide any download event for a document?

I'd like to know if there is any event generated when a document is downloaded (a File on the OneDrive for a user of my Office 365 tenant) or let me put it this way, a change event or some other ...
0
votes
2answers
721 views

Creating a subsite using c# and the REST API

Im trying to create a site using the REST API from a console app. I keep getting: "Not well formed JSON Stream" I cant find much on calling the REST API from c# so have been piecing it ...
0
votes
2answers
547 views

The length of the URL for this request exceeds the configured maxUrlLength value. REST API

I was wondering if someone could help, or am I missing something. In the articles found here http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx#bk_FileStartUpload They refer ...
2
votes
0answers
36 views

How to get random user profiles in SharePoint 2013 restful api?

In SharePoint 2013 restful api, is there a way to put in the url for user profiles, that you want say 5 random items from the target list? I don't want to download the whole thing and then take 5 ...
1
vote
1answer
21 views

500 Error When Adding a Filter to a REST API Query

I'm having an odd error using the SharePoint 2010 REST API. I have a site that has 4 lists with a parent/child relationship. I'm using REST to create an interface for this using Datatables. Suddenly ...