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

Folder created through REST API of type SP.Folder in a list is not visible in sharepoint list UI

I am trying to create a folder inside a custom list using REST API with with type SP.Folder. I am able to create the folder successfully. Below is the code i used. English folder has been created ...
0
votes
1answer
18 views

AJAX/Rest only returning 100 items instead of full list

On an onchange event on a select box (filtered lookup column where the value is the item ID) i make an AJAX call to auto fill certain fields on a form. This works great except for it only returns 100 ...
1
vote
2answers
29 views

REST list of built in columns for $select

I'm just getting into using REST calls to work with SharePoint 2013. The first challenge I'm facing is know which columns I can retrieve using $select and which ones need to be expanded. For example ...
4
votes
1answer
30 views

LikesCount cannot be used in query experssion - REST API

iam tring following query but getting error on "LikesCount". i have Likes column in list . but after executing following query iam getting error on Likes count . Error is "The field LikesCount" of ...
0
votes
3answers
2k views

The field 'Author' of type 'User' cannot be used in the query filter expression

I was making a rest api call with Odata filter author/id. I want to get survey responses of a particular user. ...
0
votes
0answers
12 views

REST api for search access point

Just getting into REST and have used the web access point to read information from a list. For example https://{site url}/_api/web/Lists/GetByTitle('ListName')/items?$filter=OData__dlc_DocId eq ...
2
votes
1answer
43 views

Filter with empty value using REST API

I have two filters to filter on ,one is status and other is category. status is : new/approve/rejected and blank if status is new then show new records , if approve then approved, if set blank ...
1
vote
1answer
14 views

Get AssignedTo.FirstName with REST not working

How do I get the value of AssignedTo.FirstName with REST ( AJAX ) ? I use Angular ! Other columns , it works as it should , but not AssignedTo column ! ...
1
vote
0answers
14 views

_api/web/lists/ vs. listdata.svc - or: hot to get Likes or Ratings?

Working with SharePoint 2013 onPremise here. And it is driving me nuts :-( i have a custom list with attachments and Likes enabled. And I want to retrieve both via REST - which seems impossible if I ...
0
votes
0answers
15 views

Read items from App list

I have SharePoint (O365) "HostSite" with "AnApp" and "SomeSubsite". "AnApp" has "AppList". I need on "SomeSubsite" HomePage view some item fields from "AppList". Any working example? I found only ...
1
vote
1answer
593 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 + ...
0
votes
2answers
965 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
1answer
21 views

Using AngularJS $http Post to upload files [on hold]

I have been working on file upload service for my project and everything is looking good except for the request. Works OK with jQuery.AJAX and appears to work with Angualr $http but the file is not ...
0
votes
1answer
301 views

Adding user to a SP group via REST api - some sites return 401 “Access Denied” but the code succeeds

I guess this is very specific so might be hard to find someone who has a clue - but it's worth trying. I have a simple console app in c# that adds AD groups to existing SP security groups using ...
1
vote
1answer
27 views

REST API Throttle Limit Error

I have an application I built in SharePoint Online which uses REST API queries to pull records out of a SharePoint list which has 400k records. The list has an indexed column and for the most part ...
1
vote
2answers
665 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 ...
0
votes
1answer
805 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
50 views

Security Error while doing REST update on the SP list

I am trying to make update with the usage of REST but I got an error: -2130575251, Microsoft.SharePoint.SPException. The security validation for this page is invalid and might be corrupted. ...
0
votes
0answers
14 views

Filter search query by DocId using REST API and JSON

url/_api/search/query?querytext='ContentTypeId:<guid>'&sortlist='NewsDateOWSDATE:descending'&selectproperties='Title,Path,Description'&refinementfilters='DocId:121455' Now I want ...
1
vote
1answer
26 views

Rest api add to select append sharepoint list is undefined

If alert view then OK, but is add code select append, not working - undefined Here is code: function getListItemById(webUrl,listName, itemId, success, failure) { var url = webUrl + ...
3
votes
1answer
56 views

Enable/Disable “Like” button using REST API

I have a Likes count column in a custom list . I am trying to update the likecount from client side using REST API. If a user has clicked on Like once, then it should disable the like button for ...
1
vote
1answer
627 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 ...
2
votes
0answers
16 views

rest ajax sharepoint designer

I am trying to apply and use JQuery news ticker from SharePoint list for which I need to use REST Ajax call, I have tried some codes from net but none of them works, so I am confused where to put the ...
2
votes
2answers
623 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
1answer
16 views

SP2013 REST API - How to retrieve the creation date of a document

I try to get the creation date of a Word document added to SharePoint using the REST API. Metadata properties of my document created at 2012-03-09: My URL to get document information: ...
1
vote
2answers
2k views

Uncaught TypeError: undefined is not a function

I access my web in javascript code in SharePoint 2013. I'm using Jquery and KnockOutJS for my other functions. So I have added following urls above my code. <script type="text/javascript" ...
10
votes
3answers
716 views

How to access a custom field of a list using REST

I'm trying to get information from a list in a custom SPField called "My Field" with the internal name "MyField" using this JavaScript code: $.ajax({ url: ...
0
votes
0answers
25 views

Project Server - REST - Security Groups

I am trying to fetch all project server security groups, when I query the end point http://consoto.com/pwa/_api/web/sitegroup, I get a list of all site permission user and groups found under Site ...
0
votes
1answer
7 views

Create List item Sharepoint 2010 REST with Choice column

I am trying to create one new list item in Sharepoint 2010 using REST. Coding var itemProperties = { 'Title': ;Raja;, //Single line String 'Expiry_x0020‌​_Date': "02/02/2016", //Date ...
0
votes
1answer
28 views

REST API Files in Folders from Document Library

I am building SharePoint add-in on Office 365 based on angular JS. I followed another article here to try and read documents from a folder in a document library from the HostWeb. here is the URL ...
0
votes
1answer
325 views

Cannot query SP.UserProfiles.PeopleManager from the App Web via REST

I'm testing REST results in the browser with mixed results. The following URL returns the expected result: ...
0
votes
0answers
21 views

Access SharePoint site mailbox using outlook REST API

I need to access emails in a SharePoint site mailbox using OUTLOOK REST API. I was able to complete the authentication part successfully. So I sent this GET request using POSTMAN. Request URL ...
0
votes
1answer
644 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 ...
1
vote
1answer
540 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 ...
2
votes
2answers
24 views

Why are my field names wrong when retrieving data using the _api/lists REST api in Sharepoint 2013

I am trying to retrieve data from a custom list in SharePoint 2013. I created the list with several fields: Title (single line text) Subject (single line text) Release Date (date/time) Main Contact ...
1
vote
0answers
30 views

Read user field via Javascript/REST: Some users are NULL

I have a simple list with a simple user field. I can assign users, save the item and everything was working fine... ...until I tried to access the list via REST call within a Javascript. Some of the ...
0
votes
0answers
26 views

AJAX REST filter

I have a SP-List that I want to retrieve data from using Ajax. Everything works as it should but my question is the following: List A have the Status column I want all of the object with status A and ...
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 ...
0
votes
1answer
554 views

How to return multi-value fields via SharePoint Rest API?

After reviewing my results, I realized one of the sharepoint columns only returns one value. How do I get it to return each value from my Role Column? It should look like this: Title: FDA Program ...
3
votes
1answer
53 views

.push() and .pop() multiple value lookup field via REST API

I'm updating a multiple value lookup field via REST with the following code: var itemProperties = { '__metadata': { "type": "SP.Data.QuestionsListItem" }, 'AnsChoicesId': { "results": [1,3] } ...
0
votes
2answers
1k 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
1answer
117 views

How to Modify Search REST query after Thesaurus is called

I have a query "< my_url >/_api/search/query?querytext="Bureau'" I have added to the Thesaurus Bureau,Office. I am trying to get the query to return everything that 'Office*' would return. ...
1
vote
0answers
19 views

Trouble uploading file to Document library using REST api and JSOM

So I have been trying for the last day or so to get code right to upload a file to a newly created document library based off a custom template. Based on my research I know I am getting all of the ...
0
votes
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 ...
7
votes
2answers
3k views

Retrieve toplevel site's subsites using REST _api

I'm currently working on an iOS app which uses _api-services to retrieve data stored in documents libraries of a SharePoint Online. Consuming _api/web/Lists/ works well so far. At the moment the REST ...
6
votes
3answers
2k views

Workflow getting Access denied when calling the rest webservice from subsite

i have following problem. I am using SP 2013 Online and i am trying to access some informations from the sub site, like http://[SPOnlineUrl]/SubSite/_api/web/title. But i will always get the annoying ...
2
votes
1answer
2k 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
88 views

Sharepoint authentication without CSOM, JS or 3rd party dlls

I am new to Sharepoint. I am trying to create a folder in sharepoint shared folder and this needs to work for both on-premise as well as sharepoint online. The problem that I am facing is, it works ...
1
vote
2answers
582 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
57 views

Use REST API with CAML query to fetch the files inside multiple folders in single REST Call

I have a scenario where i would like to fetch all the files from multiple folders using REST API. I would like to filter the data in such a way so i can ignore the folders and fetch only the files ...