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

Got error 'The root of the certificate chain is not a trusted root authority.' while using sharepoint REST API

I created Sharepoint Provider Hosted App and installed on my sharepoint account. I got access token(App only token). I am using Sharepint REST API to list files and folders of all users Now the ...
1
vote
0answers
17 views

Odata Queries and Date Fields

I have a calculated field that contains the logic if(date) {Yes;} else {No;} This works fine for the column's calculation, but I either need to get the result of the calculated field or need to ...
1
vote
2answers
67 views

How to get SPFieldChoice values using rest api SharePoint 2013?

I have a choice field in my list. I can get it values using server object model by following way List<string> fieldList; SPList spList = spWeb.Lists[listName]; SPFieldChoice field = ...
0
votes
1answer
26 views

Filtering a REST call with a View

I have a list in SharePoint I want to make a REST call to access it. I need to filter this list by an Alert Yes/No field. The field is called Alert and I try to filter it on "true" but the results ...
0
votes
0answers
61 views

SiteUserInfoList not updating

I am running a workflow that Calls user information from http://site/_api/Web/SiteUserInfoList/Items(<UserID>) The workflow is pulling the information just fine however I noticed that not all ...
0
votes
0answers
23 views

PUT and POST methods with REST in SharePoint

We cannot create a list item using PUT method in REST, it gives a bad request error. The REST reference suggests that the PUT method is generally used to update resources. Is there a clear ...
1
vote
1answer
1k views

Sharepoint 2013 REST API - Shared Documents / Author Info In one Call?

We are in the process of integrating from Sharepoint 2007 to Sharepoint 2013. We have a java based application using Sharepoint 2007 SOAP based webservices. In Sharepoint 2013 we are using the REST ...
0
votes
1answer
38 views

SharePoint 2013 OData $filter seems broken with date functions

I am using SP2013 SP1. I am trying to perform the following OData opertaion from a client app that contains an External Content Type. The ECT points to a ASP.Net OData service. My Javascript code in ...
1
vote
2answers
69 views

Grant Unique Permissions on List Item through Workflow

I have a workflow set on a list that will read a Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have ...
1
vote
1answer
25 views

Issue with $skip in REST API

Here is a sample list i am using I am testing some REST filters in the browser directly and checking the XML feed returned by the REST request. Below is the REST query which I used to get the first ...
0
votes
2answers
21 views

REST api Bad Request file replace

I'm using sharepoint REST api using JavaScript to replace a file in a doc library. Here is the url structure I'm using. <!-- language: lang-js --> props.webUrl + "/_api/web/lists(guid'" + ...
0
votes
1answer
288 views

RoleAssignments with REST API and oAuth

I'm attempting to use the REST API to migrate files from our users' personal sharepoint sites (e.g. http://organization-my.sharepoint.com/personal/bob@organization.onmicrosoft.com). The account which ...
0
votes
1answer
23 views

Populate mailto link using REST

I have only had experience with using REST in a SPD workflow. How can I use jQuery with REST to have a user click a button and open up a mailto: link and have that link mail to the users returned ...
0
votes
0answers
23 views

REST get all roleassignments for particular user

I would like to get an overview which would show me what can particular user see in our Sharepoint Site - in other words what are all his role assignments - in groups and also lists and in other ...
1
vote
2answers
23 views

GetChanges REST call from java returning status 400

I'm trying to use the GetChanges REST API call in SharePoint 2013 from a standalone Java app using Apache HttpClient. The JSON body in the POST request body looks like this: ...
0
votes
1answer
39 views

get items between do two date REST API [duplicate]

can i get the list of items between two date like ? var startDate. var EndDate. var queryGetDiscussion = "?$Date between(startDate, EndDate) "; Or using LT and GT.
0
votes
1answer
396 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 a "Not well formed JSON Stream". I cant find much on calling the rest api from c# so have been piecing it together ...
4
votes
1answer
402 views

$inlinecount and $count missing in new OData API?

can anybody verify that in the new OData endpoint of SharePoint 2013 found at /_api/ does not implement the keywords $inlinecount and $count? ListData.svc has it implemented. Example: ...
0
votes
1answer
664 views

Office 365 SharePoint Online 2013 REST with SoapUI

Im trying to run Office 365 SharePoint Online REST API calls. I get an error message: <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> ...
10
votes
3answers
5k views

REST POST: How to add a list item with 'people and group', 'choice,' and 'URL' fields?

I am trying to create a form for a SharePoint Hosted app that will allow users to request a teamsite. The form writes to a list that is contained in the SharePoint site collection, from which a timer ...
0
votes
1answer
74 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
0answers
58 views

Sharepoint app REST Authorization Header

I have developed a Sharepoint app that I installed on my sharepoint site for testing. I filled it with data and now I want to run REST queries on my app with Postman in Chrome. Once I am logged in to ...
2
votes
2answers
410 views

SharePoint Online REST API Image upload AJAX

I'm trying to upload an image to SharePoint using native JavaScript/jQuery - NOT SP.RequestExecutor. I've cracked the authentication issue, nice and easy, so now it's just a case of working out how ...
1
vote
1answer
439 views

SharePoint Hosted App Cross Domain Calls to a REST API

I have a SharePoint hosted app and I want to use the JIRA REST API with it. Which means I want to make requests and work with the data from the responses. Because it's a SharePoint hosted app I can ...
0
votes
2answers
103 views

The length of the URL for this request exceeds the configured maxUrlLength value. REST API

I was wondering if someone could help, or am I missing something. In the articles found here http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx#bk_FileStartUpload They refer ...
3
votes
1answer
387 views

How to add items to a document library when uploading a file using Rest in SP 2013?

I am trying to add file to document library by using REST IN SP 2013 APP MODEL. This is my code I can upload file to document library but I can't add items value to that document library in fields ...
7
votes
2answers
222 views

What is the permission level for REST Query?

If I execute the REST Query using JavaScript and I am logged in to the SharePoint with Visitor privileges then will my code be able to query the administrative data like getting the column name and so ...
1
vote
1answer
70 views

Getting document name using REST (not title) while filtering document library

I am trying to filter through a list and return metadata of the documents in that filter. How do I return the name of a document from a document library using REST while being able to filter the ...
0
votes
1answer
12 views

How to display latest created image from a picture library in a page?

There's a page where i need to show the latest created/uploaded image from a picture library. I did the following URL to retrieve that information to me (in JSOM): ...
1
vote
1answer
35 views

how to get last ten item with REST API

I need to get the last ten created item from my list ; I used TOP in my query but this it doesn't work , still give me all items without filtering : this is my query : var queryGet= "?$filter=Title ...
2
votes
1answer
546 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 ...
1
vote
0answers
31 views

MVC web api in sharepoint 2013 farm solution

How to consume the MVC web api in SharePoint 2013 farm solution? When I try to consume with httpclient I cannot refer to the assembly WebApiRestService.WebApiClient, it's showing error as not strong ...
4
votes
2answers
124 views

How to obtain User Field Properties in Lookup List via Rest Api

I have a List (Topics) which has a MultiLookupField to a List named (Speakers) Speakers has a User Field (UserName). What I'm trying to do is to read some of the User Fields Properties. Which works ...
0
votes
1answer
43 views

How to get Principal Id of a User in Workflow

I am trying to set unique permissions on a list for specific users, and in order to do this I must be able to pull the principalId of the user from within a workflow to be used in a REST call in the ...
0
votes
1answer
21 views

REST API, Querying Lookup Additional column giving error

I have an additional lookup column RelatedLinks:Title. I am not able to query using rest api. Getting - The field or property RelatedLinks_x003a_Title does not exist. What is the proper way to select ...
-2
votes
1answer
43 views

REST results undefined

I am executing this code, but am getting the d.results = undefined: 'use strict'; $(function () { var call = $.ajax({ url: _spPageContextInfo.webAbsoluteUrl + ...
2
votes
2answers
36 views

Add AD group to SharePoint Online using REST API

Is it possible to add an AD group into SharePoint. I've created a user group in the Office 365 portal, which appears to be stored in AD. Is there a way of searching for this AD group and adding it. ...
3
votes
1answer
40 views

How to obtain Description & Url from Url Field via Rest Api

I have a problem with retrieving the Description from an Url Field via the Rest Api from SharePoint. If I make a call and select an Url Field with the normal $select ...
1
vote
1answer
22 views

How to make paging with using REST API in sharepoint 2013?

I have simple task. I must get siteowners information with restapi. I have to use paging. How to make paging with using rest api?
4
votes
1answer
102 views

Get last created item from SharePoint List using REST

I want to fetch ID and Title of last created item from SharePoint list using REST. I am using below url but it gives me wrong item, there are more than 10k items in the list. ...
1
vote
1answer
61 views

What is better way to enum directories and documents

I need to enum directories and documents in SP 2013. I need only those the user works with (no system or web files) To get initial lists omitting non-user ones I inquire ...
1
vote
0answers
44 views

Accessing Groups Created in Office 365 in SharePoint

I've created a Group in the Office 365 admin area and added a couple of users. However I can't seem to find it through the API. When you go to share a file and use the search function it appears in ...
1
vote
2answers
93 views

Creating folder in 2013 with REST API

Related to question Creating Folder using REST and JavaScript, I used 3 approaches to create folder with REST API (native C++ casablanca lib): request.set_method(methods::POST); ...
0
votes
3answers
592 views

get current user info using jquery ,REST and com

My goal is to get the login name and picture for the current user. I am using SharePoint 2013 Foundation. I tried three method and non of then worked correctly: This is with jQuery SPServices: ...
0
votes
2answers
45 views

Sharing Files/Folders REST API

I'm currently using the REST API to upload files/folders and share the files with other users. Files/Folders are being uploaded to the following ...
1
vote
1answer
36 views

How to access sharepoint 2013 site owners with Rest API?

I have recently started sharepoint. I don't have more exprience. My question is simple. I would like to get information about site owners with rest api?
1
vote
2answers
258 views

SP 2010 REST $filter column

I'm trying to filter a list using the REST service. The column im trying to filter is the default column "Modified". My problem is: I can get all itens created today, but not only the items created ...
4
votes
2answers
227 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 ...
0
votes
0answers
22 views

How do I access a Custom List from a client web part via the REST API?

I am using the following code to try and access my newly created Custom List called Announcements: $.ajax({ url: appWebUrl + "/_api/web/lists/getbytitle('Announcements')/items", method: ...
4
votes
2answers
1k views

Create Page using REST API

I have spent two days trying to create a page with a specific Content Type in Pages list using REST API. It goes into error handler and returns ...