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
14 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
0answers
24 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
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": ...
3
votes
1answer
31 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
17 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
24 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
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
1answer
30 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
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
0answers
14 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? [on hold]

Please give clear understanding for following URL _vti_bin/Lists.asmx _vti_bin/listdata.svc _api/web/lists
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
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
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
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?
0
votes
2answers
38 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
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 ...
2
votes
0answers
34 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
17 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
44 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
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!
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
28 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
41 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
33 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
39 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
84 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
42 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
24 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
19 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
11 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
21 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 ...
0
votes
1answer
34 views

SharePoint Online/Office 365 - Using Rest Services in a SharePoint Designer Workflow

Good Morning All, does anyone have any good articles, notes and\or documentation on how to configure and develop a rest web service call within a SharePoint Designer 2013 workflow? I've found plenty ...
0
votes
0answers
51 views

Querying field is invalid when accessing it by using OData query operations in SharePoint 2013 REST requests

I'm trying to use the OData query operations in SharePoint REST requests, but I get an error message when Im trying to join two lists and access some fields. The message is saying: QUERYING THE ...
2
votes
0answers
37 views

REST Call to Post a Reply to a Discussion Board Topic w/o JSOM

I am trying to find a way to post a reply to an existing discussion on a Discussion board using the REST API. I cannot find a way to do this. I can only create a new discussion topic using REST. I ...
1
vote
1answer
28 views

REST call to move a file/folder to another location

I am trying to move a file/folder from one location to another using a REST call, but I am getting the following error: { error: { code: "-1, ...
1
vote
1answer
27 views

SharePoint REST API Post date from Input value

I am currently developing a SharePoint 2013 app and I have ran into an issue. I have REST api that runs when the user tries to submit data, I have managed to get the Title field to submit the ...
1
vote
0answers
52 views

Keep getting a 400 Bad Request when trying to create a Site via REST API

I'm quite new to Sharepoint stuff, and currently am trying to interact with the REST API. I have been able to get all kinds of data without much problems by sending GET reuqests, but sending POST ...
3
votes
1answer
51 views

SharePoint 2013 REST API Request Token: The given key was not present in the dictionary

I am trying to post data to a SharePoint 2013 REST API using Python. I am able to successfully acquire the required X-RequestDigest using the method from this post. I have already tried solutions ...
1
vote
1answer
55 views

Pre Filling SharePoint Field using Javascript

I am using REST API to create list item in another list. Based on the successful creation of the list item I am just updating the current SharePoint field value.This whole process is executing through ...
1
vote
0answers
36 views

Finding all personal sites in my site collection through REST API

I want to know if there is any way I can get the entire list of My Sites (personal sites) with in the My Site collection for a tenant. So I'm looking for all sites under ...
0
votes
0answers
23 views

How to update folder properties based on content type using C# Rest code

I have a document library, say, People, with a custom content type MyCustomType with fields Location, Cost.This library has a folder say X. X has a subfolder Y. Y has 3 subfolders z1,z2,z3 at the same ...
0
votes
0answers
16 views

REST api getting custom user profile property

I'm creating a workflow, using VS 2013, that needs to get a user profile with some custom properties. I used REST to try and get the custom properties but according to msdn ...
0
votes
0answers
22 views

Need to get folder,file items using REST

I have used REST url as: ...