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
1answer
37 views

REST - Is Project Checked Out

I am trying to query a PWA project set to see if it checked out (any user). There is an endpoint to check-in a draft project which is like so ProjectServer/Projects(guid'xxx')/Draft/checkIn() but ...
1
vote
0answers
28 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
votes
1answer
36 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 ...
4
votes
1answer
73 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: ...
0
votes
1answer
34 views

REST MERGE listitem forbidden (403)

I am trying to update a field in a list item via REST. I'm using the same passing of security info with the XML-RequestDigest header that works for adding items. Here is my REST call (via javascript ...
1
vote
1answer
25 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
1
vote
1answer
57 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 ...
0
votes
1answer
25 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
43 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
20 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
3answers
83 views

How to get list items using Ajax and rest services

Please let me know which "query" to be used...i just copied a sample code from net... please guide me as I am new to ajax and sharepoint function getListItems(url, listname, query, complete, failure) ...
0
votes
1answer
27 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
34 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 ...
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
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 ...
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
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', ...
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
68 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
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 ...
0
votes
1answer
26 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
86 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
84 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
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 ...
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
2answers
41 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
63 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
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
33 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
47 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
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 ...
0
votes
0answers
20 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
61 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
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 ...
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 ...
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
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 ...
1
vote
1answer
46 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
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 ...
1
vote
1answer
42 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
32 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
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
votes
1answer
20 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 ...