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

Rename folder with SharePoint online REST API 2013

I want to rename folder via SharePoint Online REST API from CRM Plugin. Below is my code. I am getting HTTP 204 response, but the folder name is not changed. Please can someone tell what is wrong ...
0
votes
1answer
21 views

Error While create REST request for create file

I set the headers like following: Headers: accept: application/json;odata=verbose Content-Type: application/json;odata=verbose Authorization Bearer xxxxxxxxxxxxxxxxxxxx { ...
0
votes
1answer
35 views

SharePoint Online api

I made a rest call to list site my users have access : url: '/services/_api/web/webs/?$select=title,ServerRelativeUrl,effectivebasepermissions&$filter=effectivebasepermissions/high%20gt%2032', ...
0
votes
0answers
54 views

Sharepoint Online REST api CAML query not returning file related columns

Hiho! I'm trying to query a document list from a sharepoint online server using REST api. I have to use caml, otherwise filtering is not possible on the taxonomy field as far as i know. Below is ...
0
votes
0answers
23 views

Is the SharePoint 2013 REST API fully supported in SharePointOnline (Office 365)?

Is the SharePoint 2013 REST API fully supported in SharePoint (part of Office 365)? Assuming I have access permissions to make REST API calls to a SharePoint subscriptions, can I safely assume that ...
0
votes
0answers
16 views

Does the SharePoint 2013 REST API support syncing of Users and Groups?

The SharePoint 2013 REST APIs enables callers to synchronize SharePoint items using the GetListItemChangesSinceToken resource As the resource name suggests, a call to it will return changes to list ...
0
votes
1answer
98 views

Upload large files using SharePoint 2013 rest API and SP.RequestExecutor

I have a SharePoint 2013 on premise provider hosted App and i am trying to upload large files greater than 10MB(Ex: 40 MB) through SharePoint cross domain Rest API calls using Sp.RequestExecutor. I am ...
0
votes
1answer
76 views

Uploading File with rest api and HTML5 api

I am using SharePoint 2013 on premise. I am trying to upload file to the custom list from custom webpart purely jQuery and javascript. In my form I have hyperlink, when I click on it, it will open ...
0
votes
1answer
29 views

Share multiple files of Document Library programatically

I want to share multiple files from Document Library programatically or any other way using Client Object model or REST API. Thanks.
0
votes
0answers
11 views

Does the SharePoint 2013 REST API support syncing of Users and Groups?

The SharePoint 2013 REST APIs enables callers to synchronize SharePoint items using the GetListItemChangesSinceToken resource As the resource name suggests, a call to it will return changes to list ...
3
votes
1answer
111 views

Sharepoint REST Api OData Version?

Can anyone tell what is odata version used by SharePoint REST Api? I am asking because I tried to run the Nested Filter in Expand supported by OData V4. ...
3
votes
0answers
95 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 ...
0
votes
0answers
10 views

Invoke cross domain SP API call

Would like to invoke GET calls to the SP API on a separate domain using a Web Service that is hosted in an Azure VM, is this possible with the SP API? Have tried to adding Credentials to a ...
0
votes
2answers
62 views

Update person or group field using REST API in Document Library

I want to update the Person or Group field in Document Library using REST API. How can I achieve this. Thanks.
0
votes
2answers
48 views

SharePoint 2013/Online $expand field is not valid

I am having a problem with the $expand operator in SharePoint Onlineand hopefully you have a simple answer. ...
0
votes
1answer
64 views

Programmatic Checkout of File in SharePoint Online [closed]

I am attempting to automate the check out of a file on my company's SharePoint Online server. I am doing this with Python (2.7.11) and the requests library. Using MSDN Docs I've come accross this ...
2
votes
1answer
36 views

Convert user id to user name in a single rest query that gets list items

So I get some items from a list via a rest query, and in the Creator field I get an ID. I want to display the name of the user and not the ID. Calling the GetUserByID isn't an option because it might ...
1
vote
2answers
38 views

Filter items based on lookup

I have an SP list with 6000 items.It contains 10 lookup columns. I want to filter,retrieve and display a set of items in a page based on these lookup value. I tried using REST API & CSOM but I am ...
0
votes
1answer
48 views

Retrieving List<T> collection from a REST method within a SharePoint 2013 Workflow

Here is the deal.. I have a REST method that returns Generic.List<DTOSupervisor> which has to be retrieved by using a HTTP Send and GetDynamicValueProperties components. My REST method ...
1
vote
0answers
18 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 ...
0
votes
0answers
23 views

Search API for Lookup

I was able to retrieve the Company Description (Multiple lines of text) using the above url. I got 'CompanyDescriptionOWSMTXT' from search schema. I also want to retrieve a lookup called sectors. ...
1
vote
1answer
68 views

Sharepoint REST api: wasn't $.Ajax supposed to make asynchronous calls?

I don't understand why my code is running synchronous. At least it is what the attached print-screen shows. Are my assumptions correct? <script ...
1
vote
1answer
18 views

Calling 2013 Designer Workflow from a 2013 Designer Workflow

I noticed that we cannot call a 2013 designer WF from within a 2013 designer WF. Can a workflow be called using rest api. If so are there any examples on how to do it?
0
votes
0answers
28 views

Usage of REST API within WebMethods

I am creating Sharepoint 2013 integration code utilizing webMethods 9.7 via direct http calls to our internal Sharepoint farm. I have created services to post and get documents within different ...
0
votes
0answers
65 views

PowerShell calling Sharepoint 2013 REST API to update list item

After attempting several different examples I am unable to update list items using the Sharepoint REST API. I receive back a 400 error from the request. The creplace is due to Sharepoint sending ...
1
vote
0answers
93 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 ...
0
votes
1answer
53 views

SharePoint 2013 Workflow, Creating an Item with REST, and Declarative Workflows

Last week, I asked a question about looping over a managed metadata field in order to build the necessary web service endpoint so that I could create a list item somewhere else based on seelctions in ...
6
votes
1answer
179 views

What is the pros and conts between JSOM and REST

I have a dilemma choosing between JSOM and REST what is better? what are the pros and conts of both? is different in performance? I have search but I cant find something usefull.
0
votes
0answers
38 views

SharePoint REST returning items with incorrect values

I'm using REST API to get all items form a list in SharePoint and this is what is happening: Even when the item has a value in SharePoint In the REST result I get this In case you didn't ...
0
votes
1answer
42 views

REST request for creating list, 404

When I send the create list request https://xxx.sharepoint.com/_api/Web/Lists as POST request, and set header as: Authorization:Bearer xxxxxxxxxxxxxxxxxxxx Accept:application/json; odata=verbose ...
1
vote
1answer
53 views

REST API 2013 $skiptoken Doesn't work with $filter - returns the same result set

I'm trying to implement paging in SP 2013 REST. This is the endpoint / querystring that I have: ...
1
vote
1answer
34 views

Cannot Break Role Inheritance on Task Items Using REST in SharePoint 2013 Workflow

The title pretty much says it all. I'm getting an 'Unauthorized' response when I try to /breakroleinheritance on a Tasks list item in a 2013 workflow (inside an App Step). The strange thing is that ...
1
vote
1answer
48 views

Get lookup from REST API

REST API url is /sites/MySite/_api/web/lists/getbytitle('MyList')/items?&$top=100 I have a lookup column called Sector in the list. How to retrieve this lookup value from the success call of ...
0
votes
0answers
44 views

The request ETag value does not match the object's ETag value

I tried updating SharePoint Online List using REST APIs. For this I have sent some headers with POST request in POSTMAN, described below. Accept : application/json; odata=verbose Authorization : ...
1
vote
0answers
60 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
votes
1answer
26 views

Cannot find resource for the request AppTiles

I am working with Office 365 and using below service to get details of all AppTiles https://<site>/_api/Web/AppTiles So to get details of specific tile i am using below url ...
6
votes
0answers
68 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, ...
0
votes
1answer
37 views

SharePoint 2013 REST no permission to POST siteuser

I am trying to POST new siteusers to <sp_url>/_api/web/sitegroups(6)/users. I have managed to do so using the chrome rest client application addon. The request contains following headers and ...
1
vote
0answers
102 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 ...
0
votes
0answers
31 views

how to search, filter and retrieve 20k items in SharePoint

I have a lists containing 20k items.I want it to display it in a page and that page also contains filters just like in ecommerce site.I tried to retrieve the whole items at the beginning using rest ...
0
votes
1answer
41 views

Problem reading list items from a custom SP list in a workflow

I don't see any workflow 2013 action that would let me readily retrieve items from a custom list in a SP online team site. Therefore I have to rely on REST/_API calls as discussed in this article. ...
0
votes
2answers
47 views

Display Profile Image, Can't Select Picture Url

I am attempting to retrieve some profile properties for the current user, and am having a hard time with the profile picture Url specifically. Version is Sharepoint Foundation 2013. When I open the ...
0
votes
1answer
27 views

RESTing create View

I searched but not found example. See CSOM:http://www.c-sharpcorner.com/blogs/how-to-create-a-view-in-sharepoint-2013-using-csom and Powershel: ...
1
vote
0answers
27 views

interface sharepoint <=> own independent web application

I'm really sorry to annoy you with this, but I just don't get a clear answer though I try hard to find it. I've learned a lot about the REST interface - but it looks like that it is simply impossible ...
2
votes
1answer
129 views

Authenticating into Active directory using REST API

I started looking into sharepoint and from what I understood from my company architecture is It runs an on premise hosted server. SharePoint uses Active directories to authenticate the users. How ...
0
votes
2answers
93 views

Get User ID from ClientPeoplePickerWebServiceInterface Web Service through Javascript

I am using this webservice /_api/SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser to build an autocomplete solution for my SP app. The problem is, the ...
3
votes
0answers
28 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 ...
2
votes
1answer
121 views

How to make a rest call to SharePoint 2013 from node.js?

In my node.js app, I want to make a rest call to sharepoint 2013. This is the node.js code function downloadData(res, key, success, fail) { var opts = url.parse(key); opts.method = ...
0
votes
1answer
31 views

How do i get current user's RegionalSettings using .net \ rest request?

I'm trying to get current user's regional settings. var regionalSettings = context.Web.RegionalSettings works but there is no RegionalSettings on context.Web.CurrentUser.
3
votes
1answer
86 views

Getting item id from newly created item

I am using SharePoint 2013 Enterprise version. I am using below rest api code to add the record I kept below code in common js file function CreateListItemWithDetails(listName, webUrl, newItem, ...