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)

0
votes
0answers
13 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
13 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
21 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 ...
3
votes
2answers
59 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 ...
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
15 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 ...
1
vote
1answer
44 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 ...
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 ...
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 ...
0
votes
0answers
32 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 ...
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 ...
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 ...
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": ...
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
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: ...
1
vote
0answers
27 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 ...
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
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
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
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 ...
-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
0
votes
1answer
69 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
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
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
1answer
44 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?
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
39 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 ...
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 ...
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 ...
1
vote
1answer
30 views

How to request multiple properties in Sharepoint 2013 restful api?

In sharepoint 2013 resful api, I am using this mysite/_api/sp.userprofiles.peoplemanager/getuserprofilepropertyfor(accountname=@v, propertyname='testprop1')?@v='aq/hello' to get custom user ...
0
votes
0answers
37 views

Display attachment filename of list item in a page

I need to display the attachment filename only. I would like to display like this [filename]. It is sharepoint 2013 environment. Thanks!
0
votes
1answer
14 views

REST interface payload for Project Server

I am trying to update some properties of an object using the REST interface. I am able to read the information with the GET request, but when I'm PATCH-ing (MERGE-ing) I always get a 403 Forbidden ...
0
votes
1answer
29 views

How can I run REST from batch or powershell?

I want to create an item (Title,ID, description) in Mylist by using REST/batch/powershell/SQL store procedure Any reference or information will be appreciated.
0
votes
1answer
46 views

How to save attachments filename into a field?

I am trying to create a URL/ Link with current item attachment filename. My example List name: MyList ItemID : 100 LinkField: NULL attachments: abc.csv & abv.doc I would like create a ...
0
votes
0answers
16 views

I want to show calendar.aspx view onto the page using rest api

How can i show the calendar.aspx view with overlaid using rest api on a page. Is there any way for doing this?
0
votes
2answers
36 views

Is it possible to GET a list of Files in a document library with “extended properties”

I have a document library to which I added some extra columns, mainly important one is "country". I can GET the list of Files using the following URL: ...
0
votes
0answers
17 views

Access SharePoint Online List Data in Office App

I am trying to create an Excel task pane, which shows the data from SharePoint List. Here is the MSDN article for Creating task pane or content add-in with Visual Studio, which consists of HTML & ...
0
votes
2answers
44 views

How do I like an item on a discussion board via REST or JSOM

I have a discussion board with posts on it. Discussion Board 1 post1 post2 post3 I want to "like" the item in post2 in "Discussion Board 1". How would I do this via REST or JSOM. I have looked ...
4
votes
3answers
91 views

Is there a variable for current user in Sharepoint 2013 restful api?

In sp2013 restful call, I have this link http://mysite/_api/sp.userprofiles.peoplemanager/getuserprofilepropertyfor(accountname=@v, propertyname='Office')?@v='aq\test' And this works with managed ...
1
vote
1answer
47 views

How to get custom user profile properties in sharepoint 2013 restful api?

In my Sp2013, I tried this link http://mysite/_api/SP.UserProfiles.PeopleManager/GetMyProperties and it gets all properties including the custom managed ones from crawling. And one of them is ...
0
votes
0answers
35 views

Javascript - How to get content of HTML of list items in SharePoint 2013

I want to create a PDF file which will contains information of all items in lists related to a specific itemID. So my idea is create an HTML array of that itemID, then post it to server and use ...
0
votes
1answer
25 views

How to authenticate a SharePoint 2013 REST API request from an HTML Application?

I am creating an HTML application that needs to access data from SharePoint 2013 List using REST APIs. eg - sharePointsite/_api/web/lists/GetByTitle('Test')/items. The HTML application is on a ...
0
votes
0answers
21 views

How do I get QueryAsUserIgnoreAppPrincipal permission in Sharepoint Online (for client credentials flow)?

I am trying to use the search API using Client Credentials Flow. I haven't been successful so far but I have recently come across QueryAsUserIgnoreAppPrincipal. How can I get this permission in ...
0
votes
0answers
13 views

SharePoint 2013 Workflows - A binding instance has already been associated

I upgraded from .NET 4.5 to 4.5.2 via the Web Platform Installer. This utility offers no way to rollback or uninstall. I am getting the following error in SharePoint for a 2013 Workflow (also shown in ...
1
vote
0answers
23 views

Invalid JSON error while checkin of file on IE

I am facing an issue while checking in the file using REST API. The code below works Chrome Firefox and IE except the version 11.0.9600.17914. I tested it on my local IE version 11.0.9600.17905 and ...