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

Adding an App to an Infopath template

I have a REST App to retrieve the User Profile Information and I need to add this App to an existing SharePoint 2013 template. I am new to InfoPath and to REST. The current template is very complex ...
0
votes
0answers
7 views

update list from another list using ECMA/client object model?

I have eleven lists list1,list2,..list10.and listDup Now i want to update ListDup's SID column based on List1's SID . when the time of adding item in List1(List2,List3,..List10) i have to check sid ...
0
votes
0answers
14 views

How to expand assistant property name in SharePoint 2013 REST search query?

In my SP2013, I have a out of the box property Assistant which is a people picker. I want to use REST to download user profiles using search api, but also include the assistant in it. BUT, by default ...
0
votes
0answers
15 views

Not able to order by subfolders in the document library using REST API/ODATA

I am trying to query subfolders in a document library in a SharePoint Online site. My ODATA "orderby" query URL was working fine when I try to order by ID column. But when I try to order by another ...
1
vote
0answers
8 views
1
vote
0answers
9 views

Workflow fails to write REST call to Workflow History as log

I am trying to start a workflow from a Sharepoint Designer 2013 workflow via the REST API, and am logging to the Workflow History list in order to debug it. Trying to log the following string, ...
3
votes
1answer
29 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 ...
4
votes
1answer
41 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
0answers
14 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 ...
1
vote
1answer
16 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
17 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 ...
0
votes
1answer
24 views

Using AngularJS $http Post to upload files [closed]

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 ...
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 ...
1
vote
1answer
28 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 ...
0
votes
0answers
15 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 ...
2
votes
1answer
52 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 ...
2
votes
2answers
20 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 ...
1
vote
1answer
27 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 + ...
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: ...
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
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
0answers
27 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 ...
3
votes
1answer
57 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 ...
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 ...
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
0answers
20 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
1answer
14 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 ...
1
vote
0answers
34 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
17 views

Reading and expanding a foreign key value from an expanded list in SharePoint

I have a the following lists in my site: Staff - has staff details and a department foreign key Departments - has department details Project Tasks - has a number of tasks Department Tasks - has ...
0
votes
0answers
11 views

listdata.svc substringof oddities

I have been working on a tool which uses listdata.svc extensively and uses a lot of queries using the substringof operator. Originally I was creating filters in the manner: ...
0
votes
1answer
24 views

Disable text box for few seconds after success message

I'm trying to disable a textbox/and button for few seconds after the "Send button" has been clicked and then enable it again as well empty the textbox. But it doesn't work out. I have an onSuccess() ...
0
votes
0answers
18 views

Upload video to Assets Library using REST throws 404

I cannot figure this out: when I try to post a video to an Assets Library I get an 404 error (FileNotFoundException) similiar to this question. So I 'catch' the error and continue but what am I doing ...
1
vote
1answer
17 views

Upload documents from other websites

I want to upload documents from a ASP MVC website to my Sharepoint document library. Found a lot of websites about this topic, but most of them are focussed on uploading documents from within ...
1
vote
1answer
13 views

Inconsistency in printing SharePoint list items using jQuery REST

I am retrieving data from my SharePoint site and printing it to a html table. The problem is that at times, when I print the data I fetched, my code fails to print all the data I expected. I have ...
1
vote
0answers
20 views

Sharepoint REST API - Create InformationRightsManagementSettings

To create IRM settings using REST API, I am referring to document https://msdn.microsoft.com/en-us/library/office/jj247077.aspx As per documentation, it suggest below REST endpoint to create new IRM: ...
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] } ...
1
vote
1answer
32 views

How can I extend an existing sharepoint rest api “function”

In my project (using SP 2013) I need to get information from a couple of different lists and merge them for display purposes. Instead of using a couple of ajax requests to the api and merging the ...
0
votes
2answers
52 views

Change filename of existing file on SharePoint Document library using REST API

I have a question on how to change an existing file on SharePoint document library using REST API. I have a couple of files in the location http://site ...
1
vote
3answers
48 views

Code to run after Ajax completed its looping

In the below code, the alert will come three times but i need it only once. I have also tried by keeping the alert outside the ajax code but then the alert is coming once but the problem is that it is ...
0
votes
1answer
45 views

SharePoint 2013 REST Current User GUID

I am trying to get the current user GUID (not the Id, an integer). Making a call to http://servername/_api/web/CurrentUser/ which would would give the Id which can in turn be used to make a call ...
2
votes
1answer
43 views

AssignedTo Column multi users via REST-API

Is it possible to set (Update/Create) 2 users to the AssignedTo column in SharePoint Online? I am using REST-API (JS). When I put one user with: AssignedTo "- 1; #USER@company.com" it works, ...
7
votes
1answer
77 views

How to send a “like” or “unlike” command via REST API?

The structure of my REST-API Url is /_api/Web/Lists/GetByTitle('FAQ')/Items. Each item can be liked by users (like in discussion boards). How can I send a "Like" or "Unlike" command via REST?
0
votes
1answer
24 views

Why the “401 Unauthorized” when using Call HTTP Web Service against a text file?

I have a mydata.txt file under SiteAssets whose contents are JSON (SharePoint prevented my use of a .json extension). I shared the file with Everyone. I can make a getJSON request with jQuery in the ...
2
votes
1answer
50 views

Update list item using SHarePoint REST API not working

I am facing issues with updating a simple list item using SharePoint REST API. I have gone through all the blogs to get a solution but the result is same. When ever i execute the update list item ...
0
votes
0answers
8 views

Need calendar webpart that uses a REST w-s, not SharePoint list, to display data (can't use BCS)?

The business requirement is to open a SharePoint page, pass my user credentials, curriculum ID, the REST W-S triggers, fetches my "curriculum" data, and displays this "date", "time", "start", "end", ...
0
votes
3answers
61 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 ...
1
vote
1answer
45 views

JSLink and REST API issue with async

I am trying to use REST API inside JS Link. SPClientTemplates.TemplateManager.RegisterTemplateOverrides(OverrideFieldContext); function OverrideFieldContext(ctx) { var groupingName = ...
2
votes
2answers
57 views

How to get all user profile in sharepoint using REST API

I am trying to get list of all user profiles using RestAPI in office 365, But could not find any method for it. I can get property of any specific user successfully by following method: ...