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
vote
0answers
33 views

REST abstraction layer WITHOUT jQuery

I am finding myself programming stuff that someone else must have done before . https://github.com/SamDHarris/SharePointStuff https://github.com/SteveCurran/sp-rest-batch-execution ...
0
votes
0answers
14 views

appWebUrl returns with additional /undefined

I have a SharePoint hosted(on prem) AngularJS app I inherited from another developer. I am new to AngularJS single page apps. The app has an spContext.js file that loads the appWebUrl into a cookie ...
1
vote
1answer
736 views

PublishingPageImage Field is missing when get data through Rest Api to Pages Lib 2013

I want to get PublishingPageImagefield value on REST API method on Pages library with below script. executor = new SP.RequestExecutor(appwebUrl); executor.executeAsync({ url: appwebUrl + ...
1
vote
1answer
1k views

401 Unauthorized Exception with SharePoint search rest API

Note: Please do not make my question as duplicate, still i haven't get any proper answer for my question. I am getting 401 unauthorized error when calling a sharepoint search rest api ...
3
votes
1answer
46 views

Accessing Sharepoint 2013 list from a plain old HTML page (not on SharePoint server)

I have a STRONG need for this. I created dynamic HTML pages that use AJAX to bring in XML files from an Excel spreadsheet. I REALLY want to store the list information in SharePoint 2013 and access ...
2
votes
3answers
350 views

REST 403 Response on Chrome/Firefox/Edge but not IE

I have created a SharePoint Add-In that attempts to list out the subsites of the current site using the REST api. Here is the code snippet: //Subsites function searchSubSites(webUrl, success, ...
0
votes
2answers
1k views

Creating a subsite using c# and the REST API

Im trying to create a site using the REST API from a console app. I keep getting: "Not well formed JSON Stream" I cant find much on calling the REST API from c# so have been piecing it ...
0
votes
2answers
23 views

SharePoint 2013 & Visual Studio 2015 Workflow httpsend

I am using SharePoint 2013 Enterprise version. I have already configure Workflow 2013 platform. I am creating workflow with visual studio 2105 ultimate version. What I am doing is that I am getting ...
1
vote
0answers
13 views

How can I filter a REST query when the field's name is translated?

I have the following query : /_api/Web/Lists/GetByTitle('Discussions list')/Items?$filter=ContentType eq 'Discussion'" This works perfectly while my profile is set to English. When I'm set to ...
0
votes
2answers
30 views

Searching Users in AD through REST in sharepoint?

Any ideas on trying to find/search users by id in Sharepoint by a REST query? At the moment I am playing around with the clientside people picker to search for users ...
1
vote
1answer
671 views

Set list item level permission in jsom (javascript object model)

I need to assign permissions to a particular list item using client object model in JavaScript.Say for 5th item by id I want to assign contribute permission to a particular group. I have previously ...
2
votes
2answers
872 views

Passing the Sharepoint Logged in user credentials to a REST API Call

I am having issues passing the current logged in user's credentials in to a REST API call. Here is the scenario: I have a SP 2010 hosted site that has a web part that makes a REST API call to ...
0
votes
3answers
86 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) ...
2
votes
4answers
9k views

REST service and JSON

How can I retrieve via REST service in SharePoint item column values in JSON: This is my snippet: $.ajax({ url: '/_api/web/lists/getbytitle("my list")/items/getbyid(3)', type: 'GET', header: ...
0
votes
0answers
9 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: ...
0
votes
0answers
16 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. ...
3
votes
2answers
2k views

How to update title of Sharepoint web using REST in c#

I want to know how to update title of Sharepoint web using REST. I have used REST to view the title but not sure how to update the title. I can view the title by exploring ...
2
votes
1answer
772 views

Get documents and folders in SharePoint 2010 list's ROOT folder with REST

There is a question about getting files/folders in some SharePoint folder. There is advice to filter list items by parent folder path. But how can I list files/folders in the List itself? With REST I ...
0
votes
1answer
10 views

REST API return encoded Multiline Textfield but show it correctly

I save a JSON string in my SharePoint list. This looks like: ...
2
votes
0answers
28 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
36 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
26 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
1answer
35 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 ...
0
votes
1answer
42 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
2answers
591 views

Access Target Audience with REST API - The field or property 'Audience' does not exist

Resorting to asking a question on here as I cant seem to find anyone else who is trying to access the Target Audiences field with the REST API. If I try and pull out all the items in my list using: ...
0
votes
0answers
13 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
27 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
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 ...
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 ...
-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 ...
1
vote
2answers
788 views

SharePoint 2013 Online adding a user to a group using a workflow

I am trying to add a user to a security group via a SharePoint 2013 workflow I am currently trying to do this using the Call HTTP web service action and I have 3 dictionary's built. All of this is ...
1
vote
0answers
29 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
vote
1answer
714 views

How is ViewsRecent in search results calculated?

I need to find the top 3 visited webs for the last 4 weeks and I need/want to do it via the REST search api. This is SharePoint 2013. The value ViewsRecent returned by a search query seems to be what ...
0
votes
1answer
2k views

SharePoint 2013 REST API: how to get or set document fields

I want to get and also set document properties defined in a content type via a Rest call in either and app or a workflow Activity. If you fire up Google Postman or Advanced REST Api client you can ...
4
votes
1answer
74 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: ...
2
votes
2answers
994 views

How to create a folder in Sharepoint using Java and RESTFul API?

This is my Sharepoint site http://sp2k13/sites/ifsp/ and I would like to create a folder using Sharepoint RESTFul API with Java. I have already gone through Working with folders and files with REST ...
1
vote
4answers
2k views

How to get the ID of a list item with a given GUID in Sharepoint online with REST api?

I tried a request at a url of the following form .../_api/web/Lists/getByTitle('docLib')/items?$select=id,GUID&$top=1&$filter=GUID eq '2779cf8051-381f-4834-93dc-ece6345dde33' and i get ...
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 ...
1
vote
1answer
30 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
718 views

Authentication using Sharepoint Online REST API to create Task for Organizational Site

I have a Office 365 Organizational SharePoint Online Account. I want to Add Few Tasks in one of the list programmatically. I saw options of using JavaScript API or hitting the REST URL's ...
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
22 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
28 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
36 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
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 ...
0
votes
1answer
758 views

Is it not possible to add user to sharepoint group using REST for cross domain calls?

I am trying to add user to a sharepoint group in a "sharepoint hosted app". First I am checking whether the user exists in that particular group or not. If not, I am trying to add that user to a ...
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 ...