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)

2
votes
1answer
448 views

How to use LINQPad with SharePoint 2013 REST service (/_api)?

It is working just fine with /_vti_bin/ListData.svc, but I can't create connection for /_api URI.
4
votes
3answers
5k views

Query SP2013 Managed metadata term store

I was wondering if it is possible to query the Term Store via the REST API or Javascript Client Object Model in SP2013. I can't quite seem to work out the naming scheme for the REST API to discover ...
0
votes
1answer
24 views

Add item to list using Fiddler and REST Urls

I'm currently reading up on using REST urls to add data in SharePoint 2013 On-Premises. Ultimately, I'd like to use JavaScript to leverage REST. I found this guide about testing this functionality ...
1
vote
3answers
3k views

How to get the ContentType Field From Task List Using REST API In SharePoint 2013

How can I get the ContentType Field value From Task List Using REST API In SharePoint 2013 ? I tried this code and i got results for ID, Title etc. but for the ContentType field he returned ...
1
vote
2answers
1k views

Get ContentType name with select fields

I have a problem with getting the ContentType name for a item. when i use http://sp2013dev/sites/mms/_api/web/lists/GetByTitle('List')/items(1)/?$expand=ContentType I get as response all Fields ...
0
votes
0answers
9 views

Adding property bag value with Rest

I can retrieve existing properties using REST (web/AllProperties) from site collections. As the title states, I would like to add custom property bag values to the property bag on a site collection, ...
0
votes
1answer
918 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"> ...
0
votes
0answers
17 views

Updating a list item from sharepoint online workflow using HttpSend

I'm trying to update an list item in the host web from a sharepoint app using workflow's HttpSend activity in visual studio. How should I set the RequestHeader and RequestContent values ?
0
votes
0answers
21 views

File Upload to SharePoint Documents Library Failed

I have a requirement in a SharePoint Hosted App to upload file to SharePoint Documents Library but the request to upload file is getting failed with following error: Status Code: 403 ...
0
votes
2answers
33 views

rest query orderby takes null as 0

I am making an ajax call to get the list data in SharePoint 2010 I am using orderby to sort based on a column ...
1
vote
1answer
35 views

Sharepoint 2010 Blog - Order rest query by Category

I've created a blog on Sharepoint 2010 and want to query the list via REST for reporting. I want to order the list by the default field Category (internal name PostCategory). Unfortunately, this is a ...
0
votes
0answers
15 views

Is it possible to write from Client App Part to a list in its Appweb?

Didn´t find any information at google or at stackexchange for this topic. I wrote a sharepoint hosted app, which has a list. In default.aspx I get data from that list via Rest and have form to create ...
0
votes
1answer
22 views

REST to get list item by Id

I am always comfortable using JSOM, and I have used less of REST calls to access lists and its Items. But now I have a requirement to use only REST to get item by its ID. Can any one help with a ...
1
vote
0answers
13 views

REST ListData service and anonymous authentication problem

I am trying to access SharePoint 2010 list items using rest service and with anonymous authentication enabled, I am getting 404 error. ...
7
votes
1answer
523 views

Configure Navigation Inheritance when create site with Rest API

I wonder how do I keep the navigation bar of the parent site when I create a subsite. Below is the code I'm using to create the subsite and thought it might be some parameter that I could use to do ...
0
votes
1answer
36 views

SharePoint 2010 Rest query for Lookup fields

I am writing a REST query to retrieve data from child parent list. States is the parent list with "Title" column. LocalGovernment is the child list with "State_Territory(InternalName) and State / ...
3
votes
3answers
293 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: ...
1
vote
1answer
32 views

Create new SharePoint user with REST api

Is it possible to Create a new user in SharePoint? I tried the below but it doesn't work. We use ThinkTecture as the identity provider and not the default SharePoint authentication. POST ...
0
votes
0answers
13 views

Document Follow custom implementation slowing down the page performance

Let me explain my scenario : I am pulling the documents using search rest api and populating on the page. Each document having a (custom) follow icon. So, that he can follow/un-follow the document. ...
0
votes
1answer
42 views

How do I find the Tenant ID of my SharePoint Online Account?

I am trying to create a simple PHP script that uses oAuth and I seem to require the Tenant ID of my SharePoint Online account. I'm sure this is something very straight forward, but I can't seem to ...
3
votes
1answer
49 views

sharepoint 2010 get value of choice field through api call

I have a sharepoint list ImageList, i have a column which stores its type The column name is ImageType the choices are "profile pic","thumbnail" etc i want to fetch these choice values for this ...
1
vote
1answer
2k 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 ...
1
vote
0answers
20 views

Thesaurus terms ignored when search is queried through REST

I have a SharePoint 2013 portal running enterprise search. I have imported some thesaurus with the Import-SPEnterpriseSearchThesaurus cmdlet. For example, let's say as a test I have associated the ...
1
vote
1answer
18 views

Update Checkmark state via REST

I'm currently building a SharePoint Hosted App which gets any task list items from various sites and pushes them into an array. I'm using AngularJS to make these requests. Running a GET request on a ...
1
vote
1answer
16 views

KoSP binding failing (undefined) while another one works

I'm trying to link a list of my own creation up with KoSP. I created the list "Employees" which was used in the tutorial and got it to work perfectly, it consistently displays the Employee list and ...
0
votes
0answers
13 views

Author and CreatedBy, api/web and listdata.svc differences

This is such a strange problem I'm not even sure how to ask it. I have rely heavily on rest-based services to access my SP2013 data for web applications. Depending on the circumstance I'll either ...
0
votes
1answer
22 views

Unable to upload files with long Name and long folder path using REST

I am trying to upload files to Sharepoint 2013 using REST based services. The upload works fine if the name of the file is less than 109 characters and the folder path less than 123 characters. I ...
1
vote
0answers
27 views

access_denied error in 3-legged oauth flow for sharepoint app

I have installed the app(tenant level) from Sharepoint store and the app gets installed successfully for every one in the organization. While doing 3-legged authorization flow, after executing ...
0
votes
1answer
21 views

Check if a set of groups are present in rest api

I have a set of Sharepoint groups to be created with RestApi. But before creating i have to check if the group doenst exist already and then create. Is there a way to send multiple group names and ...
0
votes
1answer
33 views

Getting the list item Permission using Rest Api

I'm trying to get the list item permission using restapi in asp.net mvc. i had get the permission using below url ...
3
votes
1answer
48 views

HTML5/JavaScript Form with Complex Field Types

I am developing a responsive Website on top of SharePoint using Angular and have a few list forms that I need to establish. For fields such as text and date via saving or updating against the REST ...
0
votes
3answers
33 views

Add Columns in Document Library using REST

I am creating a Document Library using REST with the body content below. At the same time as i create this Document Library i also want to create custom columns. What should i type in the body ...
1
vote
0answers
84 views

Workflow HTTP PUT request error

Receiving this error when trying to update a list item via HTTP PUT in SPD Workflow: error":{"code":"-1, ...
3
votes
0answers
96 views

sharepoint workflow rest api add role assignment exception

I develop a workflow and i want to grant unique permission on item in list using sharepoint rest api ...
2
votes
0answers
21 views

How to get the Search REST API sort to not be case sensitive?

I am using the Search REST API to get a list of users, and am trying to sort the results by last name. However, the sort seems to be case sensitive. Is there a way to change the way items are sorted? ...
0
votes
2answers
581 views

Upload attachment in a document library using c#

Our client is running CRM and SharePoint and they would like to upload attachments from CRM into SharePoint 2013 Online. I started searching the web for some help and I came to this Microsoft page. ...
0
votes
1answer
96 views

Downloading large binary files and upload it to SharePoint document library using REST

I am building a SharePoint hosted app that communicates With a REST service, also built by us. The REST service provides a method to get a file (image or video file, typically 4Mb - 50Mb, but also ...
1
vote
1answer
37 views

Error when querying list/roleassignment in 2013 REST API - Need to know if a user can query a list/library

In sharepoint 2013, I need to check if a the current user, has access to a specific list, for that I'm using the following REST endpoint (using AJAX) ...
4
votes
0answers
40 views

How to create ContentType with FieldLinks using REST on O365

I'm trying to create a ContentType with FieldLinks using REST only (no SP.ClientContext) on SharePoint Online, but I'm not able to make it work. Creating ContentType by POSTing to ...
4
votes
1answer
681 views

SP 2013 REST API How to get Approval Status for Version History items

This is how SP presents Version History: I use this URL to get file history: ...
2
votes
0answers
13 views

Best way to filter by distribution groups user is in and show assigned to tasks for that group

Basically, the goal is that there is a task list web part that will use REST services to see what distribution groups a user is a part of and the view will filter based on if any distribution groups ...
3
votes
0answers
26 views

Getting back-end data and displaying it in the client

My SP Admin level is strong. My SP dev level is beginner. I know some JavaScript. What is the best method of bringing Server and Farm information from the back-end to the client-side? For example, ...
0
votes
2answers
797 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 ...
0
votes
0answers
28 views

How to retrieve a SharePoint list item using document ID only

How can I retrieve a SharePoint list item using just the document ID? I am accessing a SharePoint 2013 server (with document IDs enabled) remotely from a .NET application. I do not know which site or ...
1
vote
1answer
26 views

Get Department for current user using REST API (Javascript)

Is it possible to get the department of the current user using REST API (Javascript)?
1
vote
0answers
9 views

Service account to access data without being able to log into the web interface?

I've been asked a tricky question. Here is the schema. A user have access to a custom web interface, no SharePoint. He wants, through this interface, to access data on SharePoint. He has no account on ...
1
vote
2answers
399 views

SharePoint Hosted App: Using Cross Domain call to access list items on Host Web

I can use Chrome Advanced REST tools to test out a get list items request on the host web http://mydev/records/_api/Web/Lists/GetByTitle('Uber Documents')/Items?$select=Title Ok now I want to use a ...
1
vote
1answer
24 views

REST calls between applications

I have a series of SharePoint applications, one being our Intranet site and one being a system for serviceinformation on our IT-systems (itstatus). I really want to make a section of out intranet ...
2
votes
1answer
666 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
0answers
33 views

Rest API create personal site enque

I'm trying to provision My Site by utilizing SharePoint JSOM or REST API. The JSOM code snippet (below) gives System.UnauthorizedAccessException and REST call gives me a 401. The goal here is to ...