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
18 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 ...
1
vote
1answer
16 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
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 ...
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
0answers
24 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
0answers
15 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
23 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
26 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
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 ...
3
votes
1answer
53 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
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
0answers
9 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
28 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
14 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
51 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
41 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
76 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
23 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
44 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
55 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
41 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
52 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: ...
1
vote
0answers
41 views

Rename Sharepoint 2013 document library file name using REST and JS

I am new to Sharepoint. I have a list of files in a document library. Files are placed within the year folder, followed by the sub-folder of month and the day wise sub-folders. I have a list of ...
1
vote
0answers
38 views

BCS REST Performance Issues

So we're migrating from On-Prem 2010 to Office 365 and I need to convert some of our simple calendar webparts to online solutions. I've setup an External Content Type in 365 using SharePoint ...
2
votes
2answers
37 views

Best way to create a multiple item submit form

I'm looking for a way to create a form in SharePoint 2013 which will allow me to submit multiple items into a list (each line as an individual record). So, for example, i'd have a form with inputs for ...
1
vote
2answers
41 views

Cross Domain REST Calls - Always 401 before 200 received

I am attempting to create a REST call across domains (we have different farms with different domains in our organization. I am not doing this through an app, but instead I am doing it via a CEWP ...
0
votes
1answer
73 views

Query multiple SharePoint lists Using REST API and angular JS

I am using a provider hosted app and developing the app using angular js and SharePoint REST API for fetching List data. I am facing an issue with calling SharePoint lists through multiple cross ...
0
votes
1answer
24 views

How to create a new SharePoint list with data from existing list using PowerShell?

For a university project, I have to create a new list with data from existing lists in SharePoint 2013. From my little experience in this field, I would use PowerShell with SharePoint's REST API to ...
-2
votes
1answer
23 views

What is client object model SharePoint online ie office 365?

What is client object model SharePoint online ie office 365 ?
0
votes
2answers
48 views

What is client object model SharePoint 2013?

I am new to SharePoint, I want to know what is CSOM and REST in SharePoint 2013. what is the basic difference between CSOM and REST in SharePoint 2013
1
vote
1answer
42 views

Issue with symbol “&” in REST API

In REST API when I pass a value with &(ex: India & China), it throws error and when I checked it in browser it shows &amnp; in place of &. ...
3
votes
2answers
52 views

Performance will be better using CSOM or REST API to retrieve data from 4 lists simultaneously.?

I am developing Sharepoint hosted app, and there is a situation where i need to get the data from 4 lists simultaneously, then use it later on. I am able to do it using CSOM. But performance wise what ...
0
votes
0answers
19 views

How to set associatedOwnerGroup with REST API in SharePoint 2013?

Can you please let me know how to set associatedOwnerGroup with REST API to new site which does not have any group. I have created new group & able to Add Role. But I am not able to get any help ...
0
votes
1answer
27 views

Which ajax code runs first

I have two ajax call in my jquery code, I would need one value from the first one to be used in second ajax call. But I observed that the second ajax code is running first. $.ajax({ url: ...