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
23 views

How do I get Subfolder custom properties using GetFolderByServerRelativeUrl REST call

I am using SharePoint 2013 trying to query a document libraries' contents - along with custom properties that I've added. The endpoint I'm using is: http://contoso.com/_api/Web/...
0
votes
0answers
42 views

$expand field on a different site

I'm performing a rest call against a list on our subsite, but I can't expand one of the columns. The column is a lookup site column that gets it's value from a list at the root site level. http://...
1
vote
1answer
45 views

Rest filter startswith(ContentTypeId,'0x0101') not working

This is driving me crazy, but I think it's an issue on my sharepoint online. Why the heck this is not working? /_api/web/lists/getByTitle('Documents')/items/?$filter=startswith(ContentTypeId, '...
0
votes
1answer
27 views

REST API return encoded Multiline Textfield but show it correctly

I save a JSON string in my SharePoint list. This looks like: {"columns":[{"name":"A","visible":true,"width":200,"sort":{},"filters":[{}],"pinned":"left"},{"name":"B","visible":false,"width":150,"sort"...
2
votes
0answers
48 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 ...
0
votes
1answer
55 views

Can I Update List Item Using My Particular Field Value Insted of ID Using Rest

I am trying to update share point list item using rest api. I can update Item using ID but I want to Update that item which column Name Title is like "DA5000" its unique field so can I do this ?? if ...
0
votes
0answers
37 views

REST - Update field not found in metadata

I am trying to update field (StatusManager) not found in the "Task" (project server) rest metadata but is a column on the task table (TaskStatusManagerUID) and because of it looks like the update REST ...
0
votes
0answers
18 views

Is there a way to check what users a document has been shared with via REST?

When you click on the three dots next to a document in a library in SharePoint one of the things that comes up in the box is a list of the Users that item has been Shared with. Is there any way to ...
1
vote
1answer
55 views

Multiple columns $filter in SP designer 2013 http web service call

How can I filter on multiple columns when making a web service call in a SP 2013 designer workflow? For example if this is the url for the service call then how is the $filter part different from what ...
0
votes
1answer
47 views

please convert following code to ajax and rest services [closed]

<h1 align="center">My List</h1> <table id="maintable"> <tr> <td>Name</td> <td> <input type="text" id="NameId"/> </td> <td>Age</td> <...
0
votes
1answer
50 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
75 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 server(...
-1
votes
1answer
43 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
90 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
56 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
60 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
78 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 different....
0
votes
1answer
44 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
55 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
190 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
33 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
62 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
60 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 SP.SOD.executeFunc('sp....
0
votes
2answers
58 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
23 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 { "apiUrl":"https://xxx....
0
votes
1answer
41 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
71 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
142 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
104 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
37 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
13 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
155 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. http://www.odata.org/getting-started/basic-...
3
votes
0answers
110 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
11 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
104 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
73 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. _api/web/lists/GetbyTitle('LinkList')/Items?$select=Project/Title,Project/Due_x0020_Date&...
0
votes
1answer
66 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
43 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
39 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
49 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
21 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
24 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
95 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 src="../SiteAssets/js/lib/jquery-2.2.0.min.js">&...
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
33 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
87 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
138 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 ...