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)

-1
votes
1answer
41 views

Get folders and files from SharePoint List

I am working on an Provider hosted app, scenario is to get all folders and files from SharePoint library and display on UI(more like a view). Need some tips to do it. I mean how to create a UI similar ...
1
vote
0answers
46 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 ...
4
votes
1answer
83 views

What is the best custom C# Library for REST API

I'm going to write a lot of code that works with SharePoint lists and libraries over REST and C# (HttpClient) I want to create or find helper classes that help me do the following tasks over REST: ...
1
vote
1answer
65 views

client-side REST API call across domain (site collection) [duplicate]

I am trying to use my javascript to make a call to a list that lives in a separate site collection. It is not working and blocks me due to CORS. Is there any way around this? My question is ...
1
vote
1answer
49 views

how to create publishing page in pages library using ecma or rest in SharePoint 2010

I want to create publishing page in pages library via JSOM (ecma script) or REST api. Is there any way we can create in SharePoint 2010? Please let me know if anyone has any idea? Thanks, Rajeev K
0
votes
1answer
31 views

Sharepoint list update ALL items SPServices or REST API

Please tell me how to update all the elements of the list without conditions or with the condition, a separate item is updated just by ID, and all the elements of the list?
0
votes
1answer
44 views

SharePoint Rest API and Javascript Issue

I am using SharePoint 2013 Enterprise. I have 3 List. Now I am creating custom form which fully in jQuery and javascript. From the 3 list, 2 list works as detail so I have two tables where we can add ...
0
votes
0answers
30 views

500: Internal Server Error in /_vti_bin/ListData.svc

Unable to access /_vti_bin/ListData.svc for a single site collection. Others site collection are ok. Whenever I am hitting this URL, I am getting following error in response. <div id="content"> ...
0
votes
1answer
32 views

ListData.svc not pulling all items from the list

I creating a map using Highcharts and jQuery. The data is being pulled form SharePoint. Everything works just fine, except the fact that the list which contains almost every State is bot pulling all ...
0
votes
2answers
41 views

How to set PictureThumbnailURL for site/web?

I am creating a "list of content" site and use Rest API as a data source. The query: https://sharepoint/_api/search/query?querytext='contentclass:sts_site' works fine and I am able to get Title and ...
0
votes
0answers
25 views

SharePoint 2013 - mobile access

I wanted to take some general guidelines - how certain on-prem SharePoint 2013 publishing contents can be exposed to the mobile devices anonymously accessible to the employees. This includes some ...
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 ...
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
54 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 ...
3
votes
1answer
155 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
20k 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
55 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 ...
2
votes
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
66 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
32 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
29 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
43 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
71 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
103 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
162 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
38 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
69 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
0answers
57 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
77 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
99 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
778 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
113 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
10k 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
50 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
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 ...
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
188 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
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 ...
1
vote
1answer
69 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
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
2answers
264 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
19 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 ...
1
vote
1answer
36 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
67 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 ...