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)

6
votes
0answers
57 views

REST: set ReadSecurity / WriteSecurity (Item Level Permissions)

Is it possible to set this with REST (or JSOM?) (these are not exposed as properties in List REST endpoint: MSDN List) I can set this: with PowerShell: $spList.ReadSecurity=2 # 1=read all items, ...
4
votes
0answers
58 views

Web/Lists/GetByTitle returns only 100 rows

I am facing a problem in Web/Lists/GetByTitle method. Be default it returns only 100 rows. I changed it to http://sitename/_api/Web/Lists/GetByTitle('list')/Items?$top=300. When i hit this url into ...
4
votes
0answers
141 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
24 views

Get REST RequestDigest on new (First Release) Library View page

There is hardly anything left in the new (First Release) Document Library View, No SP Object, NO JSOM and no more DOM element with the FormDigest we need to do REST, so all code with: ...
3
votes
0answers
81 views

REST Api Filtered odata returning error: list view threshold

Why does the first query runs ok and the second throws list view threshold error? Note that it's a regular SP.ListTemplateType.tasksWithTimelineAndHierarchy List with Id and PercentComplete as ...
3
votes
0answers
26 views

Reaching subsites of SharePoint domain

I am writing an application that scrapes all the files from a given SharePoint site and all of its sub-sites. This worked perfectly when I ran it locally however, now that it's running on a server ...
3
votes
0answers
67 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
346 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
328 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
18 views

Replacing SOD with fetch (handling JS library dependencies - *in the future*)

Anticipating a future, I am experimenting with User Custom Actions in the new Document Library View Microsoft has so kindly provided to the First Release Office365 tenants. Since there is almost ...
2
votes
0answers
27 views

Get SharePoint group permissions level name based on group name Using SharePoint Rest API

I am trying to get SharePoint User group permissions (Ex: Read, Contribute) based on the group name using SharePoint Rest API. My goal is to get the permission level of the group and disable features ...
2
votes
0answers
54 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
28 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
26 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
54 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 ...
2
votes
0answers
56 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
134 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
22 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
73 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
23 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
34 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
169 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
200 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
43 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
160 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
359 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
63 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
79 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
553 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
52 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
121 views

How to dynamically change the drawing path in Visio Web Access Web Part

I am wondering if there's any way to dynamically change the drawing shown by a visio web access web part. I have multiple drawings I want to show on a page based on what users click on the page. Any ...
2
votes
0answers
68 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
627 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
303 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
371 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
144 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
138 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
277 views

Copy file to another folder with REST API

I'm trying to copy a file located in user's personal folder (OneDrive Pro) using REST API. The resulting link seems to become too long and server returns 400 BadRequest: The length of the URL for ...
2
votes
0answers
387 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
80 views

How to query “Followed Count” for each user?

I found follow this REST API: http://msdn.microsoft.com/en-us/library/dn194080.aspx#bk_FollowedCount By using My/followedcount, I can get current user's count of items he or she currently following. ...
2
votes
0answers
380 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
204 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
28 views

Request data from O365 Sharepoint Project online with oData

I'm trying to get data out of a O365 Sharepoint Project Online (PWA) enviroment. When I login to the O365/Sharepoint environment and navigate in the browser to: ...
1
vote
0answers
32 views

REST abstraction layer WITHOUT jQuery

I am finding myself programming stuff that someone else must have done before . https://github.com/SamDHarris/SharePointStuff https://github.com/SteveCurran/sp-rest-batch-execution ...
1
vote
0answers
13 views

How can I filter a REST query when the field's name is translated?

I have the following query : /_api/Web/Lists/GetByTitle('Discussions list')/Items?$filter=ContentType eq 'Discussion'" This works perfectly while my profile is set to English. When I'm set to ...
1
vote
0answers
24 views

Java Authentication with Office 365 Sharepoint

I have an application that I tested out with a self-created SharepointServer based on an Active Directory environment. For this I used the following code to authenticate with the Sharepoint ...
1
vote
0answers
15 views

Adding documents into a Document Set folder in SPO by busing Javascript

I am working on a project where I have to build the logic to upload documents into document set folders and I am stuck building the end point. Can we work with document sets in the same way we do it ...
1
vote
0answers
54 views

Create List Item in Another Site Collection Using REST API from Visual Studio Workflow

I have developed a List Workflow in Visual Studio 2013. In this, I am trying to read the current item's Title and create an item in another list in another site collection. Please read the last part ...
1
vote
0answers
49 views

Sharepoint 2013 Search anonymous REST API query always returns zero results

TLDR version: Is there some trick to using refinementFilters or a result set in an anonymous query to the Sharepoint Search REST API? Whenever I try, I get zero results, even though it returns all ...
1
vote
0answers
74 views

Access Denied while accessing SharePoint Custom List Using Rest APIs via POSTMAN

From couple of days, I am trying to access Custom made SharePoint Online (Office 365) List for CRUD Operation with the help of Rest APIs Endpoints using Postman, but all the time i am getting "Access ...