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
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 ...
0
votes
2answers
44 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 ...
2
votes
1answer
3k views

Getting List with REST Service to HTML page on different domain

I am trying to get data from SharePoint and display it in an HTML page on a separate domain using SharePoint 2013's API. The SP instance sits on-prem and the other domain is also within our firewall ...
1
vote
2answers
1k views

Getting Calendar items on Office 365 using REST API

I am having trouble with a REST call using jQuery on Office 365 and was wondering if you guys have ever experienced something similar and could give me some hints? What I am trying to achieve is to ...
3
votes
1answer
143 views

REST call to get list not working

I would like to make a function to pass a list name, if it exists, then append random number to its name and create a new one, if there's no list with the passed list name, then create it. So I am ...
9
votes
4answers
19k views

REST API filter by start and end dates using 'today'

I'm new to filtering dates with REST in SP but am trying to do something like below but am not sure how to get today's date in as a variable into the request. I don't think I'm too far off so any help ...
1
vote
1answer
42 views

how to call executeFunc when page refresh

I am working on Sharepoint JSOM with rest. I am using search template for search. In that page also i have default sharepoint pagination for manage results. So ,i have to call ...
0
votes
2answers
2k views

Office 365 SharePoint Online 2013 REST with SoapUI

Im trying to run Office 365 SharePoint Online REST API calls. I get an error message: <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> ...
1
vote
2answers
5k views

Filtering querystring results by date range

Simply, How do you filter results returned using querystring that fit within a given date range. For example I have a custom property RMExpiryDate and the value could be any date, lets say for ...
0
votes
2answers
56 views

Merging the results of 2 REST calls in a dataTable

I am trying to add results from two REST calls, into one Data Tables view. I am getting just one of the Rest calls results shown. //'use strict'; var appweburl; var hostweburl; var results; var ...
0
votes
1answer
27 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
1answer
23 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: ...
0
votes
1answer
41 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 ...
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
2answers
45 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
1answer
72 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
2answers
157 views

Querying SharePoint search for all departments with REST API

I currently have an ajax request set up in my javascript to call the search API but this only gives me departments matching whatever I input for query: $.ajax( { url: ...
0
votes
1answer
32 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', ...
1
vote
2answers
66 views

Populate navigation menu with ajax

I have a Sharepoint Online site with about 100 subsites. I want to populate the navigation menu with only the top 5 subsites and 2 static subsites. I created an empty navigation column named ...
0
votes
1answer
616 views

RoleAssignments with REST API and oAuth

I'm attempting to use the REST API to migrate files from our users' personal sharepoint sites (e.g. http://organization-my.sharepoint.com/personal/bob@organization.onmicrosoft.com). The account which ...
0
votes
0answers
50 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
65 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 ...
3
votes
0answers
85 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 ...
1
vote
1answer
772 views

REST API In SharePoint 2013 Uploading and Setting a Property

I am currently in the process of trying to upload a file from using SharePoint 2013 Restful Service as well as setting the fields in the same document library at the same time. I have had success ...
3
votes
1answer
90 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
4answers
9k views

How to group distinct values from a list using odata rest api

Hi I have a list with two fields "Regions" & "Countries" I am using a rest api to retrieve the list of just regions like so: ...
0
votes
2answers
43 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
0answers
9 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 ...
2
votes
1answer
34 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
34 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
184 views

REST API Image Upload - File Type Missing/Corrupted?

I am attempting to upload images to SharePoint via the REST API and the following Angular snippet: https://github.com/nervgh/angular-file-upload I will post (returns a 200), but not the full file it ...
1
vote
0answers
16 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
1answer
63 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 ...
0
votes
0answers
21 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
2answers
262 views

Client Side Error Reporting and Instrumentation in SharePoint 2010/2013

I do a large amount of client side development using SharePoint as the back end. In most cases I rely heavily on the REST API and JSOM. I tend not to use the SharePoint masterpages and deploy my ...
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
26 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 ...
1
vote
1answer
30 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 ...
0
votes
0answers
55 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 ...
2
votes
1answer
1k views

How to authenticate user in SharePoint Online using rest api

I have a website on SharePoint Online and a website on SharePoint On-premise. From my On-premise website i want to create a new list on my SharePoint Online site. To authenticate I used the ...
2
votes
1answer
126 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 ...
1
vote
0answers
61 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
41 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
178 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
37 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
66 views

Using REST, How can you add a user to the User Information List so that he/she has a user ID?

I want to create a form which allows users to search for a particular user who may not exist on the current site. I can do that using the SearchPrincipals web service, but the users will have an ID of ...
1
vote
2answers
763 views

SharePoint Hosted App: Using Cross Domain call to access list items on Host Web

I can use Chrome Advanced REST tools to test out a get list items request on the host web http://mydev/records/_api/Web/Lists/GetByTitle('Uber Documents')/Items?$select=Title Ok now I want to use a ...
1
vote
1answer
47 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: ...