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
2answers
149 views

SharePoint 2013 REST display lookup fields?

I am using SharePoint 2013 REST to show data from my list, one of my field in announce list is AnnouncedBy which is a user packer field or is a lookup field how can I display it or get it using ...
2
votes
2answers
193 views

Sharepoint Online 2013 - Retrieving a task by its related list item?

For the ticketing system I've been working on, a task will be created via workflow whenever a new ticket (discussion) is created, which is assigned to the specific personnel assigned to that ...
3
votes
1answer
337 views

How can I check files In using OData for SharePoint 2010?

I am uploading files to SharePoint 2010 following the answer here: Uploading files to Document Libraries using the REST API The issue is that all of the files are set as checked out due to some ...
3
votes
2answers
143 views

How to run ReST query to a list when the item count is more than the List View Threshold?

I have a list that contains around 16000 items and will be growing. The List View Threshold is set to the default value of 5000 (SP 2010). I have nothing to do with the SP list views and UI for this ...
2
votes
1answer
95 views

Server error when accessing Search api via REST

When trying to access the SharePoint search service via REST, I always get an internal server error with no information about the cause of the problem. My SharePoint app uses app-only permissions, ...
0
votes
1answer
94 views

UserProfile rest API

I need to retrieve User Profile information by REST. I am using this code: $(document).ready(function(){ var requestUri = ...
1
vote
1answer
740 views

Attempting to get data from sharepoint 2013 using C# results in HTTP 500

HttpWebRequest wr = (HttpWebRequest)HttpWebRequest.Create(new Uri("https://sharepointurl/_api/lists/")); wr.Credentials = CredentialCache.DefaultNetworkCredentials; var v = ...
1
vote
1answer
42 views

Using Javascript to add to REST 2013 Sharepoint list “SPFieldMultiChoice” type

I'm trying to add to a checkbox field in my company's 2013 Sharepoint install. I'm using javascript as I've built a Chrome Extension to do some work hitting several sites and compiling information, ...
1
vote
1answer
52 views

How do I get the List REST method to return the results with the display name and not the internal name

zopv & s2u2 are internal names, but I would like the results to be returned using the display name. FileSystemObjectType: 0 Id: 2 ContentTypeId: "0x010100517BCCBD1C63034A8C1141184DAB12C5" ...
1
vote
1answer
36 views

Transfer times for REST API queries vary a lot

I'm making use of the REST API to get lists. But I'm finding the transfer times are varying a lot (between ~1 second and up to 20 seconds). How can I improve this? What should I look into? ...
1
vote
0answers
105 views

Cross Site Collection call in SP Hosted App

I want to read a list from one of my site collection(SiteColl A) using a SP Hosted App. This App will be deployed in another Site collection(SiteColl B) in the same web application. I know one way to ...
1
vote
1answer
45 views

Get site title by its URL using REST

I am trying to get a User Profile property that contains an URL for a SharePoint site, then I want to use this URL to get the site title using REST API. Is it possible?
0
votes
1answer
260 views

Cascade drop down lists in SharePoint 2013 using jQuery, REST and AJAX

This is what I have so far: Loading the States in the State lists: var ItemStateDD, ItemCountyDD, ItemIDDD; $(document).ready(function () { //state populate $.ajax({ cache: false, ...
0
votes
2answers
94 views

How to use SharePoint 2013 REST service to retrieve data from lookup field

I have two lists: 'Company' and 'Customer'. In 'Customer', I have an auto look up field called 'parent'. Then I tried to use Rest to retrieve data from customer like this: ...
1
vote
1answer
41 views

SP 2013 REST throws error 500 with specific Regional Settings

I have built a SP-hosted app that uses REST API calls to get data from a list in the Host Web. The request (from fiddler) is as simple as this: GET ...
3
votes
3answers
579 views

Combine REST query “GetItems” action with OData $filter parameter

I'm able to call GetItems through REST by using an example by Erik C. Jordan. Now I'm trying to combine this with a simple OData $filter parameter. I have a REST query like this (jQuery on SharePoint ...
1
vote
1answer
106 views

How to retrieve Multi Value Lookup List using SharePoint 2013 REST Api

I have a Blog subsite of my main website. I am trying to get the Top 2 blog posts along with the number of comments and actual comments. I am able to get Number of Comments with the field ...
2
votes
1answer
38 views

Update SharedWithUsersId REST API

I've been looking at the REST API to update fields in SharePoint. I can get it to update the title without any problems, however when I go to update the SharedWithUsersId they do not update. I don't ...
2
votes
1answer
165 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
93 views

REST Api Add item to list in App Web

I have an app that contains a few lists within its own app web. I need to add new items thru the REST Api. The problem is when I try to add an item I get a 403 Forbidden error Which is odd ...
1
vote
1answer
13 views

SharePoint integration outside farm

Can someone provide me an overview of the possible ways of interaction with SharePoint from an external source. For example add items to a list from an application not running in the farm. In a farm ...
1
vote
0answers
48 views

2013 workflow, get list item in parent web

In a sandboxed sharepoint 2013/office 365 workflow, I'm trying to query a list (using REST) in the root web, for a value. If the workflow fires in the root web, I get the value. If you call it in a ...
1
vote
1answer
59 views

Use a CQWP to create a list of document libraries

I have a site with a large number of document libraries. There are constant adds / archiving of document libraries, so the list changes. Is it possible to generate a dynamic list of links to these ...
0
votes
0answers
40 views

Upload aspx file to host web in App Installed remote event receiver (rest file upload)

I'm creating AppInstalled remote event receiver that should upload aspx file to host web library (library is also created in app installed receiver). If I set app permissions to Web:Manage I can't ...
1
vote
1answer
110 views

Move files between OneDrive Business accounts

Is it possible to move folders and files between Business OneDrive Accounts. From what I can see, this can be done in the same site only. This looks like it could work, can this be done through the ...
3
votes
1answer
201 views

Can I use $expand to get Managed Metadata column values?

I want to get a list, using REST, which include Managed Metadata columns. Currently I get a TermGuid for these columns, which I then have to do more work on to get their actual default values. Is ...
1
vote
2answers
67 views

How do you use JS Link with Pages?

I'm trying to make a JS Link script that will work with my site's Pages list. Basically I want to display a simple list of page titles. I'm using the Pages Web Part (Web Part > Apps > Pages). var ...
1
vote
1answer
85 views

How to get content of html by using REST service in SharePoint 2013

Does REST service of SharePoint 2013 support us to get the content of HTML files of specified page? What I mean is request the HTML text of display form without navigate to there, like you clicked on ...
0
votes
0answers
40 views

Update people field using rest api

I searched previous posts and the closest to my question is: Updating Lookup Values with the REST API however I am using the cross-domain library and my update query uses ValidateUpdateListItem ...
0
votes
1answer
90 views

Error posting a REST request via cross domain library - Cannot handle Taxonomy Field Value

I have an app that updates a list item then starts a workflow on it. It was working fine, then stopped working the other day. It has started throwing an error regarding Taxonomy fields, but I am not ...
2
votes
1answer
540 views

ListData.svc with complex filters, Internet Explorer, 400 Bad HTTP request,

I have a problem understanding how ListData.svc can be debugged using IE8 and IE9. I have a URL that looks like this: ...
1
vote
2answers
39 views

SharePoint 2010 REST services

I'm having a bit of trouble using the SharePoint 2010 REST services on one of our servers. We have two production servers, and if I point my system to one of the servers I am able to connect to the ...
2
votes
1answer
2k views

How to copy files between sites using REST API in SharePoint Online

I have a file in a document library called images: https://xxx.sharepoint.com/Site1/Images ... and I would like to copy the file to the document library called backup in this site: ...
0
votes
1answer
1k views

How to select and filter list items lookup column with Sharepoint 2013 REST Feature?

I am using SharePoint 2013 REST. I have list which contains many look up columns, I can get list items through list if they are not look up columns but I can't select and also filter based on look up ...
0
votes
0answers
37 views

Rest API Endpoint for Site Collection “NewsFeed”

I have a NewsFeed on the home page of my Site Collection (out of the box feature). I am developing an iOS application to read the NewsFeed, but none of the endpoints seem to satisfy the one on my site ...
0
votes
2answers
136 views

Sharepoint 2013 REST queries filter items gives error?

I using Sharepoint 2013 I want to get list items using Sharepoint 2013 REST feature I can get all items but when i put my filter it does not works I don't know where the problem is. my code: ...
0
votes
0answers
66 views

Configure Personal site through REST

I am having difficulty accessing the users personal site details through REST on O365. I would like to run the code from the intranet home page (companyname.sharepoint.com) and of course I cant use ...
1
vote
2answers
71 views

Is there a way to get all file URLs for a library with a single REST request?

I have a bunch of images in a library that I need to get URLs for each item. I can get the GUIDs with this: /sites/mysite/_api/web/lists/getbytitle('Rotating%20Banner')/items Is there a way to ...
0
votes
1answer
155 views

Sharepoint 2013 workflow REST: service response on filter request with httpSend activity

in a declarative / visual studio workflow we want to filter a list and use a httpSend activity with http://mysite/_api/web/lists/GetByTitle('myList')/items?$filter=Title eq 'customer' for the uri ...
1
vote
1answer
50 views

Workflow with REST call save as template

I have created a workflow which does a lot of REST calls. The workflow works perfectly and I have several other sites/lists were I will need the same workflow. Therefore I would like to save the ...
0
votes
1answer
93 views

Sharepoint 2013 REST-API: get global propertybag value

on farm level we have stored several values in propertybag. As far as I've understood the REST Api there is no way to get that values because the AllProperties endpoint is on web level. So what to ...
1
vote
1answer
168 views

POST request for Office365 using REST API

I want to POST method request for Office365 using REST API. For example, Feed/Post, Post/Reply, and Post/Like. Request Header: Accept : application/json; odata=verbose Content-Type: ...
0
votes
0answers
41 views

JSON feed for Excel data?

There is an OData feed to get data from an excel workbook via Excel Services. However, it only supports ATOM, and not JSON. is there another way to get JSON data for an excel workbook? Along these ...
0
votes
0answers
48 views

Access content put on legal hold via SharePoint REST service

We currently crawl a lot of SharePoint content into an external search engine index by using the SharePoint REST service. With the introduction of SP 2013, there is a new capability to apply site ...
0
votes
3answers
1k views

Can local SQL Server data be made available in SharePoint Online

We have a SharePoint Online account and local data in a SQL Server instance. The data from the SQL Server is available as an OData feed in SharePoint and can be worked with in Excel Power Query. We ...
1
vote
1answer
438 views

Change item permissions using 2013 workflow

I would like to create a 2013 workflow using Rest api call to break inheritance and change permissions on list items when they are created. This is in a Sharepoint Online environment. Have anyone ...
0
votes
0answers
55 views

Displaying user profile image using rest- broken image link in IE - SharePoint online

I'm having a problem displaying user profile picture for users using var imgurl = "https://xxxx-my.sharepoint.com/User%20Photos/Profile%20Pictures/" + data.d.results[i].Username + ...
4
votes
2answers
211 views

REST API along with startswith and tolower function method in SharePoint 2013

I would like to bind all users into textbox autocomplete event. I done with below script but it is consider case sensitive expression while searching the results. $("#txtselectuser").autocomplete({ ...
1
vote
1answer
84 views

Issue in REST call

I have two methods which will be call on bashed on condition Code: //Method to add item in TT items list. function addTTItemsList(url, listname, itemTitle, columnOrder, rowOrder, listName, ...
0
votes
1answer
90 views

Sharepoint 2013 App | Redirect at 404 error

I have a Sharepoint 2013 App (Sharepoint hosted). It is a Single Page Application made with AngularJs (ngRouting) and is RESTful. So url looks like following: appname/viewOrders appname/ordersAmount ...