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

REST returning [object Object]

I converted a CAML query to REST and one of the fields that displayed the data using CAML now appears as [object Object] when using REST. Why and how to correct. Thanks
0
votes
1answer
20 views

How to Parse GetMyProperties REST Response

This is what the pre-parsed data looks like in the console after querying http://mysharepointsite/_api/SP.UserProfiles.PeopleManager/GetMyProperties?$select=Department : I am trying to get the ...
0
votes
1answer
41 views

Need help using SEARCH REST API

Im currently trying to build a SharePoint Add-in that tells you who's birthday it is on the current date. I would like to use the SharePoint search api for this but im struggling with an issue. ...
3
votes
1answer
59 views

Retrieve Images Not Working Via REST API

I am trying to retrieve Images using the REST API from iOS/Android. The issue I’m running into is when the images are stored in the /sites/siteName directory, the REST call does not work. Let me ...
0
votes
2answers
52 views

Upload document to SharePoint from External Application

I have an external application where we want to show a upload form where documents uploaded should go in SharePoint Document library in the backend. Is there any REST api that can do this job for us? ...
1
vote
3answers
113 views

Tool to inspect json data returned from REST API call to Sharepoint online/Office365 Sites

What tool should I be using to inspect the JSON data returned as a result of making a rest api call to the sharepoint online or Office365 site. The browsers return xml and I am having issues using ...
0
votes
0answers
18 views

JSOM / REST Modify Field EntityPropertyName

I can't figure out how to modify a SPFieldEntityPropertyName, perhaps it be unachievable using just SharePoint javascript API. JSOM context.web.get_fields() setter methods are: Note: I think ...
1
vote
0answers
34 views

OAuth+OpenID+REST JWT Token and Audience working with subdomains?

Ok, so I have used OAuth and gotten my JWT token and I’m having a lot of success using the REST API to do what I want to do (upload/download files and folders) however, when I get a list of sites I ...
3
votes
1answer
61 views

REST document url

I'm using rest to develop an add-in, the URL looks like this: url: appurl + "/_api/SP.AppContextSite(@target)/web/lists/getByTitle('" + ListName + "')/items?$select=FileLeafRef,Modified,...
0
votes
1answer
65 views

Getting no REST data in SharePoint in a html file

I am trying to get some data from a REST Service Url in a html file. This works fine when i am using the code direct in my browser. But when i embedded it into my SharePoint Site it wont work. On my ...
0
votes
2answers
49 views

Is it possible to host a PHP Web Application in SharePoint 2013

I have a PHP Web Application hosted in a site which consumes REST API. I would like to know whether it is possible to host that application in SharePoint? I know you could use Page Viewer Web Part. ...
0
votes
0answers
39 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
15 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
25 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" m:null="true"...
0
votes
1answer
73 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
47 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
1answer
34 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
30 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
40 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
44 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 "SP....
0
votes
1answer
49 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
56 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
15 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
18 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
54 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
18 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 m:type="SP.FieldUrlValue">d:...
4
votes
1answer
96 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: /_api/web/Lists/GetByTitle('Documents')/Items?$select=...
0
votes
0answers
22 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
36 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
21 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
53 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
2answers
65 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
28 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
57 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
51 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
20 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
55 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
64 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
40 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
73 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 URLs....
0
votes
0answers
36 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): https://<tenant>.sharepoint.com/projects/1/...
0
votes
1answer
44 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
22 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
20 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
69 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
65 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
33 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
43 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
47 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 ...