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
0answers
48 views

Using REST API in SharePoint forms in Office 365 using SharePoint Designer

Can someone direct me to some basic tutorial or component that would allow me to consume a REST API from SharePoint forms in Office 365. I would prefer to do all the customization using SharePoint ...
3
votes
0answers
76 views

SharePoint 2013 REST expand and filter issue

I've been using REST for a lot of tasks, and with the recently added $batch endpoint, it's more fun than ever. There is one thing bugging me though, and I'd like to share it with you, perhaps someone ...
3
votes
0answers
250 views

REST api 500 (Internal Server Error) error for following a site

Im currently using this code to follow a site : var executor = new SP.RequestExecutor(shptService.appWebUrl); var siteUrl = "https://domain.com/site1"; ...
3
votes
0answers
261 views

sharepoint workflow rest api add role assignment exception

I develop a workflow and i want to grant unique permission on item in list using sharepoint rest api ...
2
votes
0answers
16 views

rest ajax sharepoint designer

I am trying to apply and use JQuery news ticker from SharePoint list for which I need to use REST Ajax call, I have tried some codes from net but none of them works, so I am confused where to put the ...
2
votes
0answers
49 views

Is it possible to create a site in a different Farm via SharePoint Designer Workflow

UPDATE: It looks a little bit like a cross domain limitation. I was able to successfully complete a site creation within farm the WF is executed on via REST, but as soon as I attempt to hit another ...
2
votes
0answers
21 views

How to include managed properties in SharePoint 2013 REST api?

I want to include managed properties in the REST api call in SP 2013, but when I try, it doesn't include them. For example ...
2
votes
0answers
20 views

Can you target a list by GUID in rest in Sharepoint 2013 regardless of which site it is in?

In sharepoint 2013 rest api, I know you can reference a list by GUID, but typically you still have to provide the site that the list is on in the beginning of the rest url when you target by list ...
2
votes
0answers
26 views

Update metadata w/2013 REST API in a Workflow

I am looking for an example of a REST PUT/MERGE method done from a workflow (no code) in SharePoint Designer to update a metadata field in a library. Specifically what the Build Dictionary and Call ...
2
votes
0answers
52 views

HitHighlightedSummary HitHighlightedProperties is empty in people search using REST

Is there a way to get search hits in HitHighlightedSummary HitHighlightedProperties on people search using REST? ...
2
votes
0answers
20 views

Can I query ContentItems using tags in Sharepoint 2010 API?

I am experimenting with SharePoint 2010 REST Interface and SharePoint 2010 Web Services to retrieve content based on certain Tags. Is there a way to retrieve content based on social tags in ...
2
votes
0answers
41 views

Sharepoint Authentication via REST API

I would like to connect to Sharepoint via REST API and Javascript. Based on readings I've done, first you need to have Security Token, then you use this Security Token to get FedAuth cookies, ...
2
votes
0answers
22 views

Hybrid mobile SP2013 client

I already have a native iOS app that uses SP rest api without issues. My plan is to port this app into a hybrid one and make it cross platform using Cordova. Basically I want to mimic the native ...
2
votes
0answers
31 views

What are the different ways to consume SharePoint REST using Javascript

I know of two ways, using ajax and using SP.RequestExecutor.js. Are there any other ways. Code snippet and information around performance will be appreciated.
2
votes
0answers
145 views

SharePoint 2013: Retreving the list of files on a List I always get an empty result

I have a list in SharePoint on Premise in which I know there are 2 files and a folder. If I try to get the list of files from it I always get an empty response like in the example: GET ...
2
votes
0answers
133 views

Copying attachments using JavaScript (JSOM or REST)

I've been able to copy documents in document libraries using the "CopyTo" method: https://msdn.microsoft.com/en-us/library/office/dn450841.aspx#bk_FileCopyTo I'm not understanding how I can apply ...
2
votes
0answers
40 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 ...
2
votes
0answers
113 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 ...
2
votes
0answers
272 views

Filter by calculated column with rest api in Sharepoint 2013?

Apparently you can't filter by calculated column with Sharepoint 2013 rest api? The calculated column in question returns a string. ...
2
votes
0answers
49 views

Is there a way in SharePoint online to programmatically find out how many users are assigned a SharePoint license in Office 365?

Basically we have a provider hosted app that needs to check the number of users in an Office 365 subscription that are assigned to a SharePoint license. Maybe some sort of Office 365 API?
2
votes
0answers
63 views

Access denied while creating subsite from workflow

I am following this article to create a subsite from workflow. I am getting following error {"error":{"code":"-2147024891, ...
2
votes
0answers
360 views

How to get the Search REST API sort to not be case sensitive?

I am using the Search REST API to get a list of users, and am trying to sort the results by last name. However, the sort seems to be case sensitive. Is there a way to change the way items are sorted? ...
2
votes
0answers
48 views

Best way to filter by distribution groups user is in and show assigned to tasks for that group

Basically, the goal is that there is a task list web part that will use REST services to see what distribution groups a user is a part of and the view will filter based on if any distribution groups ...
2
votes
0answers
59 views

How to associate an existing site column to a list using the REST API

In SharePoint 2013, I have a site column that already exists and I'm trying to associate it to an existing list using the REST API. I found examples on adding a new column to a list using the REST API ...
2
votes
0answers
510 views

Querying multiple lines of text column via REST API

I am trying to query a simple multiple lines of text column on a custom list in SharePoint 2013 on-prem. Whenever I include the text column in the $select fields I get an error that the field is not ...
2
votes
0answers
281 views

Office365(Sharepoint/OneDrive) REST API endpoints for Recycle bin call return empty list

I'm trying out the Recycle Bin REST API endpoints for Sharepoint mentioned here . The URL I'm hitting is; ...
2
votes
0answers
312 views

SPException error codes and meanings (refreshing form request digest via SharePoint REST services)

Where can I find a list of error codes and their meanings for SharePoint exceptions? I can't find any list of any kind online, just specific cases here and there. My specific need arises out of the ...
2
votes
0answers
132 views

SPListItem.BackwardLinks equivalent in CSOM, JSOM, or REST?

In the Server API for SPListItem there is a property called BackwardLinks that returns a collection of items that link to the item. I don't see the same property in CSOM, JSOM, or REST. Is there a ...
2
votes
0answers
114 views

Querying 'Append Changed to Existing Text' from client script?

Is there a way, preferably via REST but JSOM would work, to query a SharePoint 2010 field to get all entries when 'Append Changes to Existing Text' on a multiple lines of text field is enabled?
2
votes
0answers
356 views

Workflow getting Access denied when calling the rest web service call

I have followed the MSDN article to give app permission to the Workflow and added the app step in the Workflow with elevated privilege. Under this step, made a web service call to {web ...
2
votes
0answers
340 views

using sharepoint OOTB DragDrop.js library in Custom webpart

I implemented drag and drop file upload functionality with using REST api in my webpart . But i found an OOTB sharepoint dragdrop.js library which has numerous methods to create drag drop control. ...
2
votes
0answers
191 views

GetUserEffectivePermissionInfo for the 2013 Rest API

Does anyone know if there is a client-side (preferably REST) equivalent to SPSecurableObject.GetUserEffectivePermissionInfo(username)??
1
vote
0answers
8 views
1
vote
0answers
9 views

Workflow fails to write REST call to Workflow History as log

I am trying to start a workflow from a Sharepoint Designer 2013 workflow via the REST API, and am logging to the Workflow History list in order to debug it. Trying to log the following string, ...
1
vote
0answers
17 views

_api/web/lists/ vs. listdata.svc - or: hot to get Likes or Ratings?

Working with SharePoint 2013 onPremise here. And it is driving me nuts :-( i have a custom list with attachments and Likes enabled. And I want to retrieve both via REST - which seems impossible if I ...
1
vote
0answers
20 views

Trouble uploading file to Document library using REST api and JSOM

So I have been trying for the last day or so to get code right to upload a file to a newly created document library based off a custom template. Based on my research I know I am getting all of the ...
1
vote
0answers
33 views

Read user field via Javascript/REST: Some users are NULL

I have a simple list with a simple user field. I can assign users, save the item and everything was working fine... ...until I tried to access the list via REST call within a Javascript. Some of the ...
1
vote
0answers
20 views

Sharepoint REST API - Create InformationRightsManagementSettings

To create IRM settings using REST API, I am referring to document https://msdn.microsoft.com/en-us/library/office/jj247077.aspx As per documentation, it suggest below REST endpoint to create new IRM: ...
1
vote
0answers
46 views

Rename Sharepoint 2013 document library file name using REST and JS

I am new to Sharepoint. I have a list of files in a document library. Files are placed within the year folder, followed by the sub-folder of month and the day wise sub-folders. I have a list of ...
1
vote
0answers
39 views

BCS REST Performance Issues

So we're migrating from On-Prem 2010 to Office 365 and I need to convert some of our simple calendar webparts to online solutions. I've setup an External Content Type in 365 using SharePoint ...
1
vote
0answers
23 views

REST API SharePoint 2013 Document Upload

I'm working an on prem SharePoint site which I want to upload a document to it from a website. I can open up the IP from the site to allow for traffic. The site is built in PHP so I would like to use ...
1
vote
0answers
11 views

InheritedFrom property not appearing in permissions object in OneDrive for Business 2.0 api

When retrieving items permission using the OneDrive v2.0 API, the "inheritedFrom" property/object is missing. I'm getting the rest of the details: the permissions object, roles, granted to, and even ...
1
vote
0answers
20 views

odata = verbose vs. select query options

I know that odata = verbose gets everything from the results in REST, and more data than necessary, but what's the use of the query option $select then if we're going to get everything when specifying ...
1
vote
0answers
27 views

Develop organizational chart with REST

Is there a way to build an organizational chart with REST? How do we get user manager and colleagues in REST, I guess I need to use profiles end point, but how do we build the structure for the web ...
1
vote
0answers
41 views

Uploading Video to video Library using SharePoint2013 Rest APIs

I am using SharePoint RestAPIs to upload video to Video Library using the following urls and the video is uploaded successfully: _api/web/lists/getbytitle('Video ...
1
vote
0answers
40 views

How to programmatically use the built in search functionality

How to programmatically use the built in search functionality to get the results and displays in the app part? I have found some jQuery REST search api code and it seems working when I try to add my ...
1
vote
0answers
73 views

How to access Choice Field Value by using Lookup Field in REST API?

I have a list(ListA) which has a lookup field(LookupF) for another list(ListB). ListB includes a choice field(ChoiceF) which can take a single value. I want to call the selected value of the ChoiceF ...
1
vote
0answers
39 views

Document sharing with SP.Web.ShareObject REST API return 200 response with error “SPWeb.ShareObjectInternal:no resolved users”

Using SharePoint REST API call SP.Web.ShareObject I try to share a document with another user of the same SharePoint site. The API call returns success response (Code 200) but can't update the share ...
1
vote
0answers
35 views

Query for SharePoint 2013 REST search

I have to site columns (column1, column2) that are also crawled by the search and available as Crawled properties, so I can use them as filters in REST query as well. I'm now trying to build the REST ...
1
vote
0answers
45 views

how to add a link to a document using rest api

Please help me in adding a "Link to a document" using rest api to document library