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
9 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 ...
2
votes
1answer
13 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
20 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 ...
1
vote
2answers
1k views

REST - get custom user profile property - on premise - Infopath

I want to retrieve a custom field from the user profile property with rest. The property is searchable in search. Name of the custom properties "CompanyNumber" But when I try to use ...
-1
votes
0answers
20 views

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

var qString = null; qString = getdetails(); $(document).ready(function () { if (qString != null) { getMyListDetails(); getAdminValue(); } }); function getMyListDetails() { ...
4
votes
2answers
2k views

How to get custom user profile properties in sharepoint 2013 restful api?

In my Sp2013, I tried this link http://mysite/_api/SP.UserProfiles.PeopleManager/GetMyProperties and it gets all properties including the custom managed ones from crawling. And one of them is ...
0
votes
0answers
20 views

need to add a button,which on click,enables “read”users to edit the list value and then save them [on hold]

<h1 align="center">DemoList</h1> <table id="maintable"> <tr> <td>Title</td> <td> <input type="text" id="TitleId"/> </td> ...
0
votes
0answers
11 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
21 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
34 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
24 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
12 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
20 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
2answers
27 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: ...
1
vote
1answer
47 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 ...
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
0answers
11 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 ...
0
votes
2answers
31 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 ...
3
votes
1answer
39 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
2answers
376 views

Create an item with REST API from workflow - Sharepoint 2013

The main idea of this is to create an item from workflow in another list which is located on different site collection. So i thought is it possible to create an item in list with REST API through the ...
0
votes
0answers
19 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
28 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: ...
5
votes
2answers
2k views

SP 2013 REST API How to get Approval Status for Version History items

This is how SP presents Version History: I use this URL to get file history: ...
1
vote
2answers
36 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
34 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
1answer
279 views

REST GetChanges(query) only returning ChangeType=1

In my SP Hosted App I have a list with 9 items. I deleted item 6 and 7 and changed item 9. Next I ran the following REST in Postman: ...
0
votes
0answers
17 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
18 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
1answer
817 views

How to create list item in an external list using SharePoint workflow?

Environment: SharePoint 2013 SP1 I have an External List displaying data exposed through a WCF service. Creating, Reading, Updating and Deleting (CRUD) items in the external list works fine in the ...
0
votes
0answers
31 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
32 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
723 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
45 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
339 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
24 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
637 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
854 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 ...
1
vote
4answers
14k views

How to select and filter list items lookup column with Sharepoint 2013 REST Feature?

I am using SharePoint 2013 REST. I have list which contains many look up columns, I can get list items through list if they are not look up columns but I can't select and also filter based on look up ...
0
votes
3answers
80 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
767 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 ...
1
vote
1answer
27 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, ...