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
5 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?
1
vote
1answer
13 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" ...
2
votes
1answer
591 views

REST update not working

I am having problems updating list items using REST calls within an angularjs SPA. I've tried HTTP and ajax methods but both do not work and give different errors. (I am only trying to update ...
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
1answer
16 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
37 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
0answers
9 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
14 views

Cannot Open Url's in SharePoint 2013 Document Library when searching with REST Filter Function

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 ...
1
vote
2answers
7k views

Get list items created by logged in user with REST api

How can I get all list items created or changed by the currently logged in user with this function? What's the correct query? // Getting list items based on ODATA Query function getListItems(url, ...
0
votes
1answer
31 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
786 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 + ...
5
votes
2answers
3k views

Can I use $expand to get Managed Metadata column values?

I want to get a list, using REST, which include Managed Metadata columns. Currently I get a TermGuid for these columns, which I then have to do more work on to get their actual default values. Is ...
0
votes
1answer
26 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 ...
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
1answer
871 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
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 ...
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 ...
0
votes
1answer
450 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 ...
5
votes
1answer
3k views

Copy List items using REST/JSON

I'm very new to REST and JSON, I want to copy list items from one list to another list in the same site on button click, both the lists are of same type but with different column names and they are ...
10
votes
6answers
19k views

REST with $filter for List Items in Sharepoint 2013

Sharepoint 2013, REST API, native C++ application: I want to get all Folder items from the list. Try /_api/Web/Lists(guid'GUID')/Items?$filter=FileSystemObjectType+eq+1 and get HTTP 400 Bed ...
2
votes
2answers
1k views

How do I get List Discussion hierarchy using Sharepoint online 2013 restful interface

I am trying to find the hierarchy of Discussions (Items) for displaying Subject: I have something to sell   Reply: I'll give you $5 for it   Reply: I'll give you $5.01 But I ...
0
votes
1answer
871 views

POST Request through WebProxy with JSON data

I want to make a POST request with JSON data to a REST API through the WebProxy. Therefor I make a request like: $.ajax({ url: "../_api/SP.WebProxy.invoke", type: "POST", data: ...
0
votes
0answers
97 views

Access Sharepoint 2013 List from outside SP

Good morning, I wanted to be able to access items in a Sharepoint List from a stand-alone web page hosted on a different server. I've read through references to the REST API and I can see that I can ...
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
29 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: ...
1
vote
1answer
841 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 ...
0
votes
0answers
11 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 ...
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 ...
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: "{ ...
1
vote
3answers
11k views

How to get all items in a view using REST API

by using rest api I get items like this http://mydomain/_api/web/lists/GetByTitle('MyList')/Items I get the view like this and naturally in it I have the GUID ...
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 ...
1
vote
4answers
3k views

How to get the ID of a list item with a given GUID in Sharepoint online with REST api?

I tried a request at a url of the following form .../_api/web/Lists/getByTitle('docLib')/items?$select=id,GUID&$top=1&$filter=GUID eq '2779cf8051-381f-4834-93dc-ece6345dde33' and i get ...
2
votes
1answer
295 views

Copy file to another folder with REST API

I'm trying to copy a file located in user's personal folder (OneDrive Pro) using REST API. The resulting link seems to become too long and server returns 400 BadRequest: The length of the URL for ...
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 ...
0
votes
0answers
22 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
41 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) ...
8
votes
2answers
3k views

Retrieve site collection quota and used storage from REST or JSOM

Is there a way to retrieve the amount of storage used and the quota limit for the Site Collection using the JSOM client or the REST web services?
2
votes
1answer
794 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 ...
0
votes
1answer
27 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 ...
0
votes
1answer
781 views

Is it not possible to add user to SharePoint group using REST for cross domain calls?

I am trying to add user to a SharePoint group in a "SharePoint Hosted App". First I am checking whether the user exists in that particular group or not. If not, I am trying to add that user to a ...
1
vote
2answers
876 views

SharePoint 2013 Online adding a user to a group using a workflow

I am trying to add a user to a security group via a SharePoint 2013 workflow I am currently trying to do this using the Call HTTP web service action and I have 3 dictionary's built. All of this is ...
0
votes
2answers
609 views

Access Target Audience with REST API - The field or property 'Audience' does not exist

Resorting to asking a question on here as I cant seem to find anyone else who is trying to access the Target Audiences field with the REST API. If I try and pull out all the items in my list using: ...
1
vote
2answers
34 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
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 ...
0
votes
2answers
27 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
2answers
401 views

Adding user to a SP group via REST api - some sites return 401 “Access Denied” but the code succeeds

I guess this is very specific so might be hard to find someone who has a clue - but it's worth trying. I have a simple console app in c# that adds AD groups to existing SP security groups using ...
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, ...