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)

0
votes
1answer
29 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 ...
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 ...
0
votes
1answer
16 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 ...
4
votes
2answers
75 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 ...
-2
votes
1answer
36 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 + ...
3
votes
1answer
27 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?
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. ...
1
vote
2answers
67 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); ...
1
vote
0answers
38 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
1answer
27 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?
0
votes
3answers
129 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
33 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 ...
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: ...
3
votes
2answers
77 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
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: ...
1
vote
2answers
36 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 ...
1
vote
1answer
17 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 ...
1
vote
1answer
42 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 ...
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
45 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
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 ...
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 ...
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
3
votes
2answers
62 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 ...
2
votes
1answer
41 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 ...
0
votes
1answer
42 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 ...
1
vote
1answer
67 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
2answers
82 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 ...
0
votes
1answer
27 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
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
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
17 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 = ...
1
vote
0answers
36 views

Authentication using Sharepoint Online REST API to create Task for Organizational Site

I have a Office 365 Organizational SharePoint Online Account. I want to Add Few Tasks in one of the list programmatically. I saw options of using JavaScript API or hitting the REST URL's ...
3
votes
3answers
141 views

How do I use getbytitle with special characters?

I have a list named "St. John's Calendar". How do I use it with SP.CamlQuery? I'm thinking I need to encode it in some way, but nothing so far has worked. Something like: ...
0
votes
1answer
27 views

Retrieving metadata around documents in a library

This may come across as a novice question, but I was hoping to gain some direction or advice in how to query SharePoint 2013 to retrieve the metadata (document properties, including the Document ID ...
0
votes
1answer
34 views

how to attach file to list sharepoint 2013 via REST API

I need to upload file as an attachement to list SharePoint using REST API. UPload the file to list and not to SharedDocuments. There is a COM code: ...
1
vote
0answers
17 views

How to create multiple fields using REST query

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
1answer
47 views

Creating folder is not possible in app web in sharepoint?

I am creating sharepoint hosted app. In that I created one list. Now I want to create folder in that list when I click on the button. Since it is in the same domain I am not using any cross domain ...
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 ...
3
votes
1answer
73 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
0answers
25 views

How to get Title Resource from a View with JSOM or REST?

I am able to get title/name resource from lists, content types and fields. However, I'm not able to get title resource from views. I'm not sure how well documented this is, but this is how I get ...
0
votes
0answers
17 views

Sharepoint 2010 REST Api Copy Files

I want to create a program that takes all files from a specified list from my sharepoint 2010 and copies them to a local location on the server. In the REST-Api for the 2013 version there is a method ...
0
votes
0answers
11 views

File Shared with

In OneDrive for Business you have the option to share a file. Can Edit/Can View I can find out who a file is shared with from SharedWithUsersId when using the below /_api/Web/Lists(guid'ID IN ...
0
votes
0answers
31 views

How to get Sugested People, Documents and Sites to follow in Sharepoint online using REST

I know we can use http://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getmysuggestions API but I am unable to get the Data
0
votes
1answer
37 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 ...
2
votes
1answer
41 views

Help with REST $filter $select option

I have a REST call that I'm running to retrieve data on a list and filtering on a lookup field. This works fine and gives results as expected. ...
0
votes
1answer
73 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: ...
1
vote
0answers
41 views

Get ContentType by “internal name” through REST/JSOM

I understand content types has nothing equivalent to fields internal name, they only have Name, which is like a title. This can be changed, and alters between locales. My impression is that the safe ...