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

Getting this error: An entry without a type name was found, but no expected type was specified

I am new to sharepoint.I am getting below error on ajax call i dont know where it is occuring. "{\"error\":{\"code\":\"-1, Microsoft.SharePoint.Client.InvalidClientQueryException\",\"message\":{\"lang\...
0
votes
2answers
53 views

Filter Conditon in Rest API query Not Working

Here ESI_ProjectSeqNoLookup/Id is a Lookup Column so expand used and filter ESI_AFENo type is Hyperlink or Picture. This query is not working. query.RestQuery = "getbytitle('RFA')/Items?$select=ID,...
0
votes
1answer
30 views

Filter Condition in Rest API query with passing textbox value

The below mentioned query is correct or not because i am not getting the textbox values. #txtAFENo. It is textbox id , passing directly the textbox value. query.RestQuery = "getbytitle('RFA')/Items?$...
0
votes
2answers
39 views

CSOM or JSOM or REST for new SPS developers

I want to get in to SPS development space and currently I`m more of a person who uses OOTB and aware of SharePoint Administration side. Therefore would like which is the Programming model that I ...
0
votes
0answers
16 views

Sharepoint List REST API - How to include original results with lookup data?

I recently constructed an AJAX call to a list within a SharePoint site which used the following REST end point. (Sensitive information stripped.) (site)/_api/web/lists/getbytitle('orgList')/items?$...
0
votes
2answers
46 views

SharePoint 2013 get full file name including extension

Wondering if anyone can help me please, I have a media library with a number of videos in and I want to get the full file name including the extension out of the library, I have so far tried using ...
0
votes
1answer
35 views

Issue in Get List named With contains # using Rest Service API [duplicate]

I have a List named 'KKR Jobs #'. And I am try to Get that list in my Sharepoint Hosted App Using Rest Service Call Like var lName = 'KKR Jobs #'; executor.executeAsync( { url: ...
1
vote
1answer
40 views

Filter conditions in rest api query SPO

The below REST-URL I used to get the data from lists using filter isn't working. Any ideas? query.RestQuery = "getbytitle('RFA')/Items?$select=ESI_ProjectSeqNoLookupId&$filter=...
0
votes
2answers
20 views

How to connect non-sharepoint site to create items in SharePoint (both on same machine)

Scenario: I've created a custom list 'TestList' in SharePoint On this same server, I created a simple (non-SharePoint) website in pure HTML Please how can I connect the form on this (non-...
0
votes
1answer
72 views

REST Service API executor.executeAsync Call Ends in Failure Function in Sharepoint Hosted App

Any Answers Will Help me to Forward and Gain Knowledge in SharePoint Development While i am Trying to get the list Items Using Rest API Calls in SharePoint Hosted App Using Below Function function ...
1
vote
2answers
48 views

Attempted Folder Creation Results in (403) Forbidden

I cannot see why I am getting a 403 error on this code to add a folder to Documents library of a SharePoint Online site. public static JToken AddFolder_SO(Uri webUri, ICredentials credentials, ...
1
vote
1answer
103 views

Sharepoint REST API calls returning 404 not found

We are trying to access SharePoint REST APIs, each call to them returns with 404 NOT Found error. We tried to check https://sitename/_api/contextInfo, there was again 404 error in response. We are ...
0
votes
0answers
57 views

Copy list item value to another in SharePoint using REST API

I am trying to auto increment a value for a specific column in SharePoint list. How to copy list item ID value to another column of of a SharePoint list (e.g ProjectID). I tried this code '...
0
votes
1answer
41 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": "SP.Data....
1
vote
2answers
129 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
36 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
38 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 xmlns="http://...
0
votes
1answer
31 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 <d:...
0
votes
1answer
61 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
139 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
43 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
61 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
53 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
49 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
15 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
52 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 http://sharepoint_server_url/_api/lists/getbytitle('Documents'...
2
votes
1answer
61 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: document....
0
votes
0answers
42 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
24 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 + "/_api/web/lists/...
0
votes
2answers
88 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
15 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 ...
2
votes
1answer
91 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
143 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
26 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 ...
2
votes
0answers
70 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: https://my.sharepoint.com/sites/pwa/...
1
vote
2answers
68 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
47 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
23 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: https://msdn....
0
votes
1answer
43 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
42 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 https://github....
0
votes
0answers
25 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
45 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
69 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
409 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
22 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
78 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 ...