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

How do i set the owner of a file my azure native application has put in SharePoint Online (office365) using oauth2 and the REST files web api?

I have a software application that I registered in my Azure AD as a "Native client Application". I use the oauth2 technique to get a token for the user to perform HTTP requests on the office365 REST ...
0
votes
0answers
11 views

Filtering a lookup field based on the value of a choice field in the child list - rest query?

This is for SharePoint Online. I've used some code available out there to create a cascade dropdown field (using a rest query and JSON) but that involves the child list having a lookup field to ...
0
votes
0answers
7 views

No “From Rest Service” Option in Infopath Designer 2013

I was looking to add a rest service call to my infopath 2010 form so I clicked on the "Add Web Service" dropdown. I only have the option for "From Soap Web Service". Am I missing an update or is ...
1
vote
1answer
17 views

_vti_bin/listdata.svc/UserInformationList retreive null DateOfBirth in Sharepoint Online

Im getting the User Information list with this link: https://SiteURL/_vti_bin/listdata.svc/UserInformationList But the DateOfBirth return this <d:DateOfBirth m:type="Edm.DateTime" ...
0
votes
1answer
41 views

SharePoint online REST: Get users profile properties

I'm looking for some help with a REST call I'm attempting to make in SharePoint Online. I'm doing an add-in that gives me the name, birhday and photo property of all user in user profiles I tried ...
0
votes
1answer
19 views

SharePoint 365: Updating User-type fields through REST api

On my SharePoint online (version 16.0.0.5312), when I retrieve items through REST api: /some-site/_api/web/lists/getbyTitle('ListName')/items(3), the API returns a new property for User-type fields. ...
0
votes
0answers
13 views

REST Looking for the last created / updated documents in 24h for all workspaces

I am looking for a solution to get all the created / updated documents for the last 24h for all my workspaces. How is it possible via REST API? Like an Activity Feed.
0
votes
0answers
20 views

Papa Parse and SharePoint

So, I have applied Papa Parse to a page that has a view of the list I'm working with. I have successfully read a CSV and logged it to the console. My question is, how do I update all items in my list ...
0
votes
0answers
30 views

I am having trouble with URL's using REST API in sharepoint 2013, for some reason it adds site pages and removes Document Library name

I have recently came across a problem with my code for a Document Library filter using the REST functionality. My code (below) returns all documents and folders correctly but when I open the ...
0
votes
1answer
30 views

REST copyTo Method in SharePoint Online

I'm trying to make a copy of a MS Word document and add it to a document library in SharePoint Online with the below code, which runs once without firing the success or fail message, and throws ...
0
votes
1answer
34 views

REST API datetime range not working as expected

Background: In Sharepoint Online, I'm using the Sharepoint REST API for query a few records based on its creation date (column Created). I'm using the following variations of the REST query for get ...
1
vote
1answer
27 views

SharePoint 2010 - REST - retrieve group members

I am building a form using REST and am trying to create a drop down based on a person/group field. '..ListData.svc/listNameFieldName' does not seem to work for those field types and accessing ...
0
votes
0answers
13 views

Find tags related to a document

I'm developing a Sharepoint-hosted App and I need to acquire the tags which a specific document is tagged with. How is this done? I'm currently trying to solve the problem using REST but I would ...
2
votes
2answers
17 views

Filtering in rest doesn't work

I want to do a simple task, which is to get all the items where the title contains some value. I searched and found the I must use substringof('value',Columnname). But still my rest query is not ...
0
votes
2answers
30 views

SharePoint Site Collection Administrators : Jquery

I have a current logged in User Id and through JQuery I want to find that whether the User Id is in site collection admins or not. $().SPServices({ operation: "GetUserInfo", userLoginName: ...
0
votes
0answers
12 views

Get child elements in output XML through list API in O365

I am using list api to query my list: https:///_api/web/lists/getbytitle('workflow%20tasks')/items?$select=WorkflowLink and getting result as : <d:WorkflowLink ...
5
votes
0answers
42 views

Get MIME type from RESTful API Call

I am currently using Sharepoint 2013 and am using this URI to get some basic metadata about the documents under the document directory: ...
0
votes
0answers
19 views

Find documents by tags

I want to create an Add-In/App that displays documents that the user might find useful or interesting, this is also supposed to be done using tags. I think I know how to get the tags that the user are ...
0
votes
1answer
28 views

How to create multiple fields with their datatypes using REST API?

According to MSDN, we can create field like below.. $.ajax({ url: "http://<site url>/_api/web/lists(guid'da58632f-faf0-4a78-8219-99c307747741') /fields", type: "POST", data: "{ ...
0
votes
0answers
10 views

SP2013: CAML query return result paged?

I have a list of 2500 items which I need to filter and then iterate through. Since the payload of returning (potentially) 2500 items is too big I need to break it down into small pieces. For this ...
0
votes
0answers
25 views

Updating metadata when uploading file using REST API

Is there a need to update document's metadata every after uploading the file to SharePoint using Rest API?
1
vote
1answer
42 views

Difference between Search REST API and Lists REST API

I'm having difficulty explaining my question, mainly based on the reason for the question itself. So the whole issue is a circular mess in my head. I really have a slew of questions. Please ...
0
votes
0answers
24 views

Content of Content Editor webpart received by REST call? Is that possible?

I may have various GUIDs and paths/files in hand, but still not able to find the inner content of webpart editor via REST call. I have 1) page name and path, where Content Editor webpart is placed 2) ...
0
votes
1answer
28 views

Upload file to SharePoint Online from external application

is it possible or not Upload file to SharePoint Online from external application? I'm looking to use some JavaScript with Jquery or angular to upload files from a asp.net or from another online app ...
1
vote
1answer
40 views

Rest - Error raised on Count items with filters in large list

The solution proposed in the linked thread does not seem to work for me as you can see below.. I have a rather huge list (2500 items) on SharePoint 2013 and I would like to get an idea of how many ...
0
votes
1answer
18 views

Pass data from external form to On Premise?

Are there options to pass data from an external form (ideally) to an On Premise SharePoint. I'm attempting to collect data from external users who won't be granted access to our SharePoint. I see ...
1
vote
2answers
36 views

GetByTitle('Pages')/items?$filter=Id eq xxx error

My service call has the following: GetByTitle('Pages')/items?$filter=Id eq 19 which with the correct encoding is: GetByTitle('Pages')/items?$filter=Id%20eq%2019 which returns me the following ...
0
votes
0answers
23 views

Can Excel Services be called in REST in INFOPATH on Sharepoint online?

A call such as this: https://SERVER.sharepoint.com/_vti_bin/ExcelREST.aspx/Forms/helpers/NetWorkDaysFunction.xlsx/model/Ranges('DateDiffCalculation!A3')?$format=atom Returns data in the browser, and ...
0
votes
2answers
28 views

REST API Get across web applications not working

I'm doing a very simple REST Get to a list of broadcast messages on the web application that serves as our "intranet portal" from the web application we use for team site collections. Both web ...
0
votes
1answer
29 views

Passing function argument in $.getScript() giving SP.RequestExecutor is not a constructor console error

Here is my code 'use strict'; var hostweburl; var appweburl; // Get the URLs for the app web the host web URL from the query string. $(document).ready(function () { //Get the URI decoded ...
0
votes
0answers
14 views

REST query not able to filter by FileRef, works in on-premise but not online

I have a REST query which works as it should in SharePoint 2013 on-premise, but not in SharePoint Online. The query is as follows (after encoding): ...
0
votes
1answer
21 views

SharePoint Designer Workflow Create Subsite and Use Parent Top Navigation

We have a 2013 Designer Workflow for creating subsites which works fine. However we want to make it use the top navigation of the parent site. We're wondering if we can just include a keyword on the ...
1
vote
1answer
14 views

Edit permission using REST - get principalID?

I'm trying to update permissions on some items using REST in a workflow. I have that working perfectly fine, but I have one issue I didn't foresee when I started planning this setup. To set the ...
0
votes
0answers
17 views

Get image column as file using SharePoint REST Web API

I have one SharePoint 2013 custom list which contains one Image Upload column. Now I need to read all it's items using Rest Web API in web-services to display other place than SharePoint. Now when I ...
0
votes
1answer
29 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, ...
0
votes
2answers
44 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 = ...
0
votes
1answer
28 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 = ...
0
votes
2answers
33 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
15 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.) ...
0
votes
2answers
38 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
29 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
35 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 = ...
0
votes
2answers
19 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 ...
0
votes
1answer
43 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
1answer
34 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
68 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
38 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
24 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, ...