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
1answer
3 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
18 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
34 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 ...
0
votes
0answers
26 views

jquery datatabes deferloading is throwing an error

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 ...
2
votes
1answer
38 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
17 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
653 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
22 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
19 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
37 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
497 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
26 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
66 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

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? [on hold]

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
10 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
7 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
26 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
7 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
38 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
39 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
34 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
45 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
713 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
539 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
35 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
18 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
793 views

Getting Calendar items on Office 365 using REST API

Hi SharePoint Ninjas, I am having trouble with a REST call using jQuery on Office 365 and was wondering if you guys have ever experienced something similar and could give me some hints? What I am ...
0
votes
2answers
35 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: ...
6
votes
1answer
974 views

How to get the Display Form URL, using REST

I need to get the display form of a list item using REST, I tried EncodedAbsoluteUrl and FileReaf, but none of them works from a SharePoint hosted App. FileReaf its just a relative url to the List, ...
1
vote
1answer
26 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
33 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!
3
votes
1answer
1k views

I cannot get “orderby” to work in SPS 2010 listdata.svc REST query

I can get the return list from this query, but if I add the orderby syntax, it just ignores it (no error, just doesn't sort the return set). ...
0
votes
1answer
13 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
43 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 ...
4
votes
3answers
87 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 ...
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
42 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 ...
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 & ...
1
vote
1answer
43 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
1answer
59 views

Get lists in Subsite/s through REST API

Is there a way to get all the lists in the subsites where the list is named 'Posts'? This gets the list if it is deployed on the subsite itself but not from the parent. The hostUrl looks like ...
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
5answers
1k views

get the attachement files from REST API

I use REST API SharePoint 2013 to get the items from list: And and I want to get the Attachments Files, How can i do that? This the code : function getListItems(url, listname, query, complete, ...