The REST (Representational State Transfer) interface in Microsoft SharePoint Foundation 2010 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 ...

learn more… | top users | synonyms (1)

1
vote
0answers
17 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
68 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
14 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
15 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 ...
0
votes
1answer
32 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
22 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
26 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
17 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?
3
votes
1answer
72 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
39 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
35 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
64 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
1answer
584 views

upload attachment to SharePoint List Item using REST API from Java client

Following Java code is an example for uploading a file attachment to the SharePoint 2013 list item. String uploadquery =siteurl+ ...
0
votes
3answers
112 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
32 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
24 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
250 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 ...
1
vote
2answers
35 views

Grant Unique Permissions on List Item through Workflow

I have a workflow set on a list that will read an AssignedTo 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 ...
3
votes
2answers
73 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
19 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
998 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 ...
0
votes
0answers
10 views

Get specific user based on a custom user profile field - REST

I've got a custom user profile field ex: CompanyID If CompanyID=444 then return "microsoft" Something like this: ...
0
votes
2answers
79 views

Problem using JavaScript in SharePoint provider hosted app

I have created a provider hosted app for a SharePoint Online site and want to use JavaScript for most of the front end logic, rather than ASP.NET MVC I have run into Cross domain problems trying to ...
1
vote
1answer
16 views

How do I find all the PersonOrGroup fields I can request in my REST API call?

I have a list in SharePoint 2013 Online. This list has a column that is a PersonOrGroup type. I'm using REST APIs to retrieve the items of this list, and I want to retrieve all the data for the ...
0
votes
1answer
74 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 ...
3
votes
1answer
31 views

REST $filter when comparing 2 date columns causes error <nativehr>0x80070057</nativehr><nativestack></nativestack>

I'm using the on prem SharePoint 2013 REST API and I'm getting an error when I try to compare two date fields. $filter=ExpectedDelivery gt NeededBy The above query works perfectly using ...
1
vote
2answers
44 views

Upload files to SharePoint Online using REST API

I'm trying to develop a console application which will upload files from the users client PC to a SharePoint Online site. I've written a version that used CSOM, but the file size is limited to 1.5Mb, ...
1
vote
1answer
562 views

Clear all values in a multi-value lookup, via REST, SP 2010

Conditions: SP 2010, html/javascript, using REST to read/write to various lists. Im using a jquery multiselect plugin to set a multi-value lookup column. I need the selecting Groups of items, easy ...
1
vote
1answer
34 views

REST - get custom user profile property - on premise - Infopath

I want to retrieve a custom field from the user profile property with rest. The property is searchable in search. Name of the custom properties "CompanyNumber" But when I try to use ...
3
votes
1answer
259 views

Order field not available in a ListData.svc query

I want to query a links list using ListData.svc and have this ordered, using the query string $orderby, by Sharepoint's own internal order field. By internal order field I specifically mean the field ...
6
votes
2answers
249 views

Query ListData.svc to return document libraries only

I am working on a very simple app on iOS that should basically allow the user to login (got that part working), then list only document libraries and allow user to navigate these and download files. ...
0
votes
0answers
7 views

What can I do to get users that doesn't come in sharepoint rest api search to show up in result set list?

greetings! I am facing a trouble and it is driving me crazy. I created a webpart for searching people using sharepoint rest api and I had specified the rowlimit with 500 which is the max row numbers ...
3
votes
2answers
60 views

Client Side Rendering with Async dependencies

In my display template I want to render a field in different ways based on the user's group membership. The information about the group membership comes from an async ajax call (jsom or rest) What I ...
1
vote
1answer
16 views

Rest API filter quote

I am using the SharePoint rest API, I need to quote a string in the filter query. This is my query: ?$filter=MyField eq 'aaa'aaa' How can I search the string " aaa'aaa "? Thanks
2
votes
1answer
35 views

REST API and User Information List Permissions and Breeze.js

Users who are not site collection admins can read from the User Information List without and issues when using http://server.domain.com/_vti_bin_/ListData.svc/UserInformationList but these users get a ...
2
votes
3answers
120 views

400 Bad Request while trying to add a user to a group using ShP 2013 REST api

I am having such a bad time trying to figure this out. I'm trying to add a user to a group by posting to: _api/web/sitegroups(8)/users The posted data looks like this: { '__metadata': { ...
0
votes
1answer
41 views

SharePoint 2013 REST API: how to get or set document fields

I want to get and also set document properties defined in a content type via a Rest call in either and app or a workflow Activity. If you fire up Google Postman or Advanced REST Api client you can ...
0
votes
4answers
3k views

REST service $filter Date column

Using the REST services, I'm trying to filter by the Created column, which is a Date data type. When trying to $filter on that column, I passed in the same date format that comes back in the JSON ...
1
vote
1answer
65 views

Copy value from one field to another in large list

I have a larger list (~6000 items) that I want to copy values from one field to another. Is there an easy way to do this? I'm guessing there is a REST or PowerShell way, but only have limited ...
0
votes
0answers
76 views
0
votes
1answer
51 views

SharePoint 2010 RESTful API listdata.svc can't find list

I'm trying to use listdata.svc on a SP2010 list and I get "The website cannot display the page". It works on other lists in that same site and even on a duplicate of the list on another site, where I ...
0
votes
1answer
26 views

Remote authentication using REST

I am trying to access SharePoint online using REST API's remotely. Office 365 Smart links are enabled for the site. As per this blog I don't receive wsse\\:BinarySecurityToken in the response. My code ...
0
votes
1answer
329 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 ...
0
votes
1answer
22 views

How can I use CAML query with List WebService

var soapEnv = "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'> \ <soapenv:Body> \ <GetListItems ...
0
votes
3answers
591 views

SharePoint2013 REST: Get user profile properties

I've been fighting to get user data using the REST API but I can't get it to work mainly because I am getting a server error 500 "Network Error: 500 Internet Server Error - ...
0
votes
1answer
13 views

Get checkbox values via REST API - SharePoint 2013

I have a status field choice with multiple values. How can i get /retrieve these values via rest api tried : for (var i = 0; i < data.d.results.length; i++) { alert(data.d.results[i].Status); } ...
0
votes
1answer
16 views

How to filll dropdown value using REST API

I have tried following code: $(document).ready(function(){ ExecuteOrDelayUntilScriptLoaded(GetEmpName, "sp.js"); }); function GetEmpName() { var strUser = "Developer"; var soapEnv = ...
4
votes
1answer
348 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: ...
3
votes
1answer
353 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 ...
0
votes
1answer
597 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"> ...