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

Adding blog post item category with REST API Sharepoint 2013

I want to insert a billet item list with related category ID in REST API Sharepoint. I proceeded as follows: POST /_api/lists/getbytitle('Billets')/items { "__metadata": { "type": ...
1
vote
2answers
69 views

Getting the List from Sharepoint online using Rest Api in java

I want to use the REST API for getting the list as mentioned in Complete basic operations using SharePoint 2013 REST endpoints When I am trying to call https://siteurl/_api/web/lists in the rest ...
0
votes
1answer
28 views

Convert CAML queries to OData Filters

Is it possible to convert complex CAML query to OData filters so that I can use them in REST APIs? Some CAML queries have nested condition and multiple values to be passed in IN operator. Also, ...
0
votes
0answers
26 views

SharePoint REST ODATA Exception

When querying the ODATA service, every second query fails with the following SOAP exception (Unhandled exception encountered while forwarding ODATA request to the App Server): <error ...
0
votes
1answer
28 views

SharePoint Rest API Problem

I am using Rest API in an a web application using JavaScript, JQuery, and HTML and I'm having issues with pulling phone numbers. I have 3 phone number fields and they all show similar to this ...
0
votes
1answer
44 views

SharePoint Online REST: Get User Profile Properties in 2013 Workflow

I'm looking for some help with a REST call I'm attempting to make in SharePoint Designer 2013 Workflow. The site is on SharePoint Online. The call is to get info related to a specific user account. ...
0
votes
0answers
21 views

Unable to get property 'results' of undefined or null reference [duplicate]

function onSuccess(data){ var title, department = null; $.each(data.d.results, function(index, item){ try{ title = item.Title; ...
0
votes
2answers
98 views

Access Sharepoint 2013 List using REST Web Api

We have Intranet in our organization in which we have one list called announcement which also consist one custom column. Now I want to read that list data using rest api for mobile app of our ...
0
votes
1answer
36 views

Sharepoint 2013 REST Retrieve list info presave items

I have successfully retrieved a specific item using REST with SP2013. Issue is that value is populated AFTER page load hence I cannot do a comparison on PreSave event. It shows as undefined and later ...
4
votes
0answers
57 views

Replacing SOD with fetch (handling JS library dependencies - *in the future*)

Anticipating a future, I am experimenting with User Custom Actions in the new Document Library View Microsoft has so kindly provided to the First Release Office365 tenants. Since there is almost ...
3
votes
1answer
45 views

call SharePoint 2013 REST WebServices from tsql stored procedure?

Can i call REST Web Service of SharePoint 2013 from tsql stored procedure ? All examples in web are for GET method, But i want create item in SharePoint list and i need to use POST method. this is ...
0
votes
1answer
36 views

Can't get filename of document with REST api/CAML query

Using the rest api to retrieve information about my documents. The documents use managed metadata which isn't expanded correctly when using the stand REST api. So I found this fix which uses REST with ...
0
votes
0answers
12 views

Workflow Loop not running through whole array

I'm having trouble with looping through an array (dictionary) in my SP 2013 Workflow. The workflow calls the HTTP web service to get an item from a list. THis list has a people column with multiple ...
0
votes
0answers
37 views

Sharepoint REST Api in Java: Unable to access site documents

I am trying to access sharepoint site documents using SP REST API in java. I am able to authenticate and get a response for the below URL ...
2
votes
1answer
48 views

How do you create a new document in a Sharepoint Document library based on an existing content type using REST?

I have a document library with a content type called 'Letter' attached to it. The 'Letter' content type has a MS Word document template attached to it. I would like to know how, using REST, to create ...
3
votes
0answers
33 views

Get REST RequestDigest on new (First Release) Library View page

There is hardly anything left in the new (First Release) Document Library View, No SP Object, NO JSOM and no more DOM element with the FormDigest we need to do REST, so all code with: ...
0
votes
0answers
28 views

Why “The property '__deferred' does not exist on type 'SP.SecurableObject'” message appears when trying to update a sharepoint list item?

I know that updating an item in sharepoint list by using REST API should be very easy, but for some reason, I have not been able to do it. I keep getting "400 Bad Request: The property '__deferred' ...
0
votes
0answers
23 views

How do I get the linked to title field in a rest call?

How do I get the linked to title field in a rest call? Also, will there be an additional step if this field is on another list? I've already expanded and included the specific field in my current ...
0
votes
0answers
17 views

using rest and ajax , i need to get admin field,which has creator name [duplicate]

qString= null; var qString = getdetails(); $( document ).ready(function() { if(qString != null) { $.ajax({ url: _spPageContextInfo.siteAbsoluteUrl + ...
0
votes
2answers
56 views

Grouping sharepoint list using REST API

I have a sharepoint list with 4 columns one with the name and rest all with the numbers. I need to groupby name and need to sum the remaining columns. Please help me how it can be achieved using REST ...
0
votes
0answers
13 views

Export infopath Form

Is there a way to export an InfoPath from a form library using a SharePoint Workflow to a specified destination? I have done a lot of research but can't seem to find good help. Current ...
1
vote
1answer
72 views

Execute crud operations using rest api outside SharePoint by .NET

I need to do CRUD operations on SharePoint online lists (intranet) using REST api from a standalone Asp.Net application which is hosted completely outside office 365 (on on-premise). I know that it ...
3
votes
1answer
82 views

Retrieving SharePoint file version properties from the web API

I'm trying to access the properties (column/field metadata) from old file versions in a document library, via SharePoint's web API. I can successfully query the library to get a list of files with ...
0
votes
0answers
24 views

Distinct Values selection in list column using rest

I am selecting top 500 rows from the list using below REST API method. I want to select only distinct values for ESI_ProjectSeqNoLookupId column. Please explain in below code where to insert ...
1
vote
0answers
49 views

Request data from O365 Sharepoint Project online with oData

I'm trying to get data out of a O365 Sharepoint Project Online (PWA) enviroment. When I login to the O365/Sharepoint environment and navigate in the browser to: ...
1
vote
2answers
57 views

Create a item in a libary with SharePoint rest api

Is it possible to create item(like .docx or .xsn or ...) in document library or form library in sharepoint 2013 using REST service?
0
votes
1answer
43 views

How do we fetch data through REST service which hosted in azure from SharePoint site which in office 365?

How do we fetch data through REST service which is hosted in window azure, from SharePoint site which in office 365? Can we need to create app for SharePoint which contain restAPI endpoint or any ...
0
votes
0answers
19 views

Start a workflow task and assign it with JSOM

I am trying to see if it would be possible to start an Approval or Collect Feedback workflow with JSOM. There is some documentation out there for kicking off a workflow with JSOM: ...
0
votes
1answer
29 views

How can I loop through a json result by substituting field/column names with a variable

How can I loop through a json result by substituting column names for a variable End result: I'm building a table from a list (~25 columns). I want to attach custom classes to each cell based on the ...
0
votes
0answers
35 views

Get admin(user)name from list item via REST API

While retrieveing list items using ajax rest call, I am not able to get admin (user)name, this is the code qString= null; var qString = getdetails(); $( document ).ready(function() { if(qString != ...
1
vote
0answers
36 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
20 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 ...
0
votes
2answers
39 views

How to retrieve image description using REST API to use in a webpart?

I want to create a Webpart as image slider which contains the images from an image gallery. I want to show each image's description under it in the image slider. But have some problems regarding that: ...
3
votes
1answer
54 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
378 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, ...
1
vote
0answers
18 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
46 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 ...
0
votes
2answers
45 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 ...
0
votes
0answers
14 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
28 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. ...
1
vote
1answer
40 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
16 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
41 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
42 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
29 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
15 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
38 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
45 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
39 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
48 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 ...